Hyprland: Popups in IntelliJ Idea break input
Hyprland Version
88b63a00b68350d6d001445357a2582ab5975f9c
Bug or Regression?
Regression
Description
Something has been broken recently with IntelliJ intellisense popups. They start stealing focus from the main window thus breaking keyboard input.
How to reproduce
- Install IntelliJ Idea
- Create a project in any language
- Start typing and make the intellisense popup appear
- The main intellij window will lose the focus regardless of
input:follow_mouseand mouse position. So it won’t be possible to continue typing or to select anything in the popup using the keyboard - You would have to manually refocus main window
Crash reports, logs, images, videos
No response
About this issue
- Original URL
- State: open
- Created 9 months ago
- Reactions: 11
- Comments: 20 (2 by maintainers)
@pshirshov These are my window rules which fix a bunch of issues I’ve come across. These focus issues are related to xwayland applications running under wl-roots as the same problems happen in Sway as well.
Also add
suppress.focus.stealing=falseto your IDE properties.I should mention that these do not “fix” everything. In my case, using a multi monitor setup will cause popups to open where ever they want sometimes. But at least the editor focus issues are fixed
The biggest issue I have now is that the autocomplete popup rendering has been broken since 0.30 in hyprland. The key to the focus issues with the editor is the windowdance rule though
Help->Edit Custom Properties...Using the
windowdancerule I have above is the only thing I’ve found that will keep the editor from constantly losing focus in tandem with the following IDE properties:its far from perfect but I’ve been daily driving this setup professionally for a few months
Appears to be an issue tracked in https://github.com/hyprwm/Hyprland/issues/2579