Open koloved opened 2 years ago
i am trying to understand where the problem is.. can you help ?
Hm, at first glance I can't see what might be causing this.
qdbus org.kde.KWin /KWin supportInformation
, section Screens
?I noticed this happens with XWayland windows which attempt to force remember their positions. This is the case for mGBA and CafeTran Espresso (my main work tool) for instance.
A possible workaround is to create a window rule with the property Ignore requested geometry
set to Force: Yes
. This can cause issues with dialogs also following the default window placement (e.g. Maximized), but then one can disable the dialog window type.
@herzenschein This is a plausible hypothesis and a good idea for a workaround; thank you.
@koloved, are all windows placed on the wrong screen, or only some applications?
Hello! https://imgur.com/ZLDsHDq.png
i had the primary 4k display , but so many apps starting on second display without any reason (as flameshot) i used your script and after that everything started using the second monitor [ { "enabled": true, "id": "unknown DP-3-unknown", "metadata": { "name": "unknown DP-3-unknown" }, "mode": { "refresh": 59.99700164794922, "size": { "height": 2160, "width": 3840 } }, "overscan": 0, "pos": { "x": 0, "y": 60 }, "primary": true, "rgbrange": 0, "rotation": 1, "scale": 2, "vrrpolicy": 0 }, { "enabled": true, "id": "unknown DP-1-unknown", "metadata": { "name": "unknown DP-1-unknown" }, "mode": { "refresh": 59.95000076293945, "size": { "height": 1200, "width": 1920 } }, "overscan": 0, "pos": { "x": 1920, "y": 0 }, "primary": false, "rgbrange": 0, "rotation": 1, "scale": 1, "vrrpolicy": 0 } ]