-
-
Notifications
You must be signed in to change notification settings - Fork 178
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 on wrong workspace #1067
Comments
Doesn't happen here. Are you running VSCode through native Wayland? Because this sounds like the sort of issue that would occur when running VSCode as an X11 app through xwayland-satellite.
|
Native wayland. I confirmed with I can reproduce the issue even with a clean vscode config. It works fine on X11 however. Your context menu looks like this, right? and not this: |
Maybe related issue with cosmic? pop-os/cosmic-comp#915 My context menu has rounded corners yeah. |
Do you have any insight on how to debug this? Btw I've noticed that the bug is only triggered if vscode was the last focused window on workspace 1 before switching to vscode on workspace 2. |
You could try to filter and make sense of |
I haven't been able to get |
I tested various builds (all wayland): vscodium-bin 1.97.0.25037 - can reproduce What I mean by "CAN'T reproduce" is that it's actually because those builds render the context menu in the DOM, not as a separate popup. I haven't noticed any commit between 1.97.0 and 1.98.0 that could explain the difference in behavior. |
I figured out the inconsistency. The default value for the vscode setting If you set |
When multiple vscode windows are open (on different workspaces), the context menu doesn't appear on the correct window.
niri-vscode-bug.mp4
I wasn't able to reproduce this on sway or labwc.
System Information
The text was updated successfully, but these errors were encountered: