Hyprland
Hyprland copied to clipboard
Pop-up window focus
Sorry for the vague title, but I've searched high and low for an answer and can't find anything helpful, I was hoping someone here can answer two questions. I'm using v0.37.1, master layout mode, and I have transparency on inactive windows.
Some apps don't focus pop-up windows. Example, if in gedit or inkscape I Ctrl+Shift+s, the "Save as..." pop-up dialog window is focused, but in GIMP2, it's not, I have to use my keybind to focus the dialog window. Is there an environment variable I haven't set or something?
If I float a window, it stays on top of new windows. Is there a window rule I can set so the next opened window brings the tiled layer to the top?
Thanks for hyprland, it's really fun!
likely some buggy xwayland behavior?
gimp-devel
supports native wayland which shouldn't have the issue
One thing I noticed is: even with input.follow-mouse = 0
, moving the mouse on or off a floating window still changes focus.
So what could happen: the application opens a popup window that gets floated, then you move the mouse (maybe unconsciously or unintentionally) and the focus moves back to the original window.
I even had this with password prompts from gpg-agent, which is very unpleasant :(
/edit: if this is your problem, just set input.float_switch_override_focus = 0
.
I'm noticing this with VS Code popups too (e.g. save dialogs). It only happens when running on XWayland and the issue goes away with --ozone-platform=wayland
.
But unfortunately Electron on Wayland also has its own set of issues on Hyprland: https://github.com/hyprwm/Hyprland/issues/1462
@MightyPlaza , thanks for that. I've been using Gimp-dev for a month, I though I had commented here. Guess not.
new_status = master (#6479) in v0.41.2 is helping this issue a lot for me. Transmission-gtk, and Atril are working perfectly.