-
-
Notifications
You must be signed in to change notification settings - Fork 876
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 windows are grouped in Hyprland #8035
Comments
I can reproduce when running under Wayland. Under XWayland it works fine. I am also able to reproduce it in Cosmic. |
Thank you for the feedback. I have to admit that I'm not very familiar with the inner workings of Hyprland or Electron, so I probably can't contribute much to solving this issue. However, it’s unfortunate that this problem prevents me from using the group feature in Hyprland with VS Code. I’m curious about the assumption that this is an Electron bug. The issue seems to occur only under Hyprland when windows are grouped, while Electron apps outside of groups work fine. It feels like the context menu is treated like a kind of popup, and there might be an interaction with how popups are handled in Hyprland. That being said, I appreciate your expertise and any support you can provide towards a solution! |
Thanks for your input, I have investigated this further and you seem to be correct. First, I tried to reproduce it in Sway and I was not able to.
So this seems like a bug in Hyprland indeed (and also in COSMIC). |
Sorry, I was definitely triggering a different popup bug with Dolphin and Nautilus. So I think that this one is a Hyprland+Electron bug, given that I can't reproduce it on Qt, Gtk, nor Iced; and it does not happen on Sway. |
I can reproduce with other Electron programs like drawio. I have reported it to COSMIC. Let see if together we can fix it. pop-os/cosmic-comp#915 |
Already reported ? *
Regression?
No
System Info and Version
System/Version info
Description
I am experiencing an issue where the context menu in VSCode always appears in the wrong instance when multiple VSCode windows are grouped in Hyprland. If I right-click in any instance, the context menu consistently opens in the first window of the group, regardless of which window I right-click in. This issue does not occur if the VSCode instances are not grouped. The behavior suggests a problem with how context menus and grouped windows are managed in Hyprland.
I have tested the following:
How to reproduce
Crash reports, logs, images, videos
hyprland_logs.txt
The text was updated successfully, but these errors were encountered: