Open joaberg opened 1 year ago
This also happens with Ableton's Live dialogs.
In general, Xwayland and especially wine window management sucks under Hyprland.
If you really need to use wine I would suggest you enable Emulate a virtual desktop
in wine. That is the only way I got around Hyprland's quirkyness with wine windows.
Do any of the issues resolve themselves if you use xrandr to set a primary X11 display? (xrandr --output DP-1 --primary as an example)
Do any of the issues resolve themselves if you use xrandr to set a primary X11 display? (xrandr --output DP-1 --primary as an example)
Yes that helps. (xrandr --output eDP-1 --primary) Now wine will send the window to whatever I define as primary, and disregard the active window I am starting it from.
It's not a Hyprland bug, I had the same problem on Sway. The xrandr trick is the way to go to handle XWayland as long as Wine doesn't support Wayland. But it's quickly on the way 👍
For me this is only a problem in Hyprland, Sway works just fine.
Has anyone figured out how to make this tile in like other applications?
Same / similar to my problem https://github.com/hyprwm/Hyprland/issues/2856#issue-1828773609
Having the same issue with allegro free physical viewer, but not with dual monitor setup, as it happens on just my laptop screen and no other monitors connected.
I can recover by changing focus to the out of screen wine window by using my keybind for "movefocus u" and then togglefloating with another keybind, after which it will tile normally, and behaves normally.
I'm having a probably related issue: Using FL Studio under Wine, the windows aren't aligned with the cursor position. Unless FL is full screen, or aligned with the top of the monitor, it is difficult to align the cursor with any fields in the window.
Steps to reproduce:
Set up a dual monitor configuration in Hyprland with the following settings:
I have a laptop monitor below, and a bigger monitor above. (Notice the location 860x1440)
I have experimented with the following window rules for
terminal.exe
running through Wine: terminal.exe is the MetaTrader4 application, used for forex trading.Disconnect the external monitor.
Start
terminal.exe
through Wine.Expected outcome:
The
terminal.exe
window should open in the center of the screen and stay there, as specified by thecenter
window rule.Noted outcome:
The
terminal.exe
window initially opens in the center of the screen, but then suddenly moves to position 0,19. The output fromhyprctl clients
:Additional information:
If i change monitor setting from:
to:
Then i will see the window that is located at 0,19, and i can move it around etc as normal.
Suspect the issue here is in the interaction between hyprland and some wine setting.
My OS is Garuda Sway edition (Arch based)