hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.03k stars 753 forks source link

Switcher broken in jetbrains IDEs #2315

Open otisdog8 opened 1 year ago

otisdog8 commented 1 year ago

When I try to use the switcher (ctrl+tab) in a jetbrains IDE, the switcher doesn't disappear and switch tabs. Instead, I need to press ctrl a second time in order to get the correct behavior (so ctrl+tab then ctrl works). This wasn't the case in 0.24.1, so I ran a git bisect and found the following commit to be the issue:

https://github.com/hyprwm/Hyprland/commit/ea77622

I reverted the commit and built from source, and the switcher issue was resolved. I didn't make a PR for this because idk if reverting would break something else.

erenatas commented 1 year ago

ctrl+shift+F window also disappears on my side whenever I move my cursor, even 1 pixel causes it to disappear.

xbb commented 1 year ago

Maybe related, dragging a tab in the application creates immediately a new floating window that is impossible to dock again.

I didn't test any previous Hyprland version but the workaround for me is this rule:

windowrulev2=noinitialfocus,class:^jetbrains-(?!toolbox),floating:1

it seems to "fix" also for the other issues you mentioned.

Except "find in files" (ctrl+shift+f) require that you focus the window to enable typing, other popups like "find actions" (ctrl+shift+a) not...

For the popups that disappear in general when you move the cursor (another example is 1Password Quick Access), you can also try the rule dimaround

qweered commented 2 months ago

works fine on hyprland 0.39 and webstorm 2024.1