Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode context menu appears in the wrong window when stacked #915

Open
Aqa-Ib opened this issue Oct 9, 2024 · 0 comments
Open

VSCode context menu appears in the wrong window when stacked #915

Aqa-Ib opened this issue Oct 9, 2024 · 0 comments

Comments

@Aqa-Ib
Copy link

Aqa-Ib commented Oct 9, 2024

I am experiencing an issue where the context menu in VSCode always appears in the wrong instance when multiple VSCode windows are stacked in COSMIC. If I right-click in any instance, the context menu consistently opens in the last opened instance of the program, regardless of which window I right-click in. This issue does not occur if the VSCode instances are not stacked. The behavior suggests a problem with COSMIC stacked windows + Electron popups, because it does not occur with Qt, Gtk nor Iced; and it does not happen on Sway (but it also happens on Hyprland).

How to reproduce:

  • Ensuring VSCode is running natively under Wayland
  • Open two or more instances of VSCode.
  • Create a stack with the VSCode windows together.
  • Right-click in any window other than the last opened instance.
  • Observe that the context menu opens in the last instance of VSCode, not the window where the right-click occurred.

Cheers !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant