Summary: | On Wayland, app windows undesirably move to left screen when restarting | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | mysterty <thierry.walter3> |
Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kdedev, xaver.hugl |
Priority: | NOR | Keywords: | multiscreen, wayland-only |
Version First Reported In: | 6.3.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mysterty
2025-03-02 13:59:19 UTC
This is the related bug for the behavior in X11 https://bugs.kde.org/show_bug.cgi?id=500613 > restart computer
> standby mode
which one is this really about? They're very different cases.
(In reply to Zamundaaa from comment #2) > > restart computer > > standby mode > which one is this really about? They're very different cases. It's on restarting. ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! Unfortunately, Wayland does not yet remember apps positions, per bug 15329 Native Wayland windows are not allowed to determine where to place themselves on screen at all; the compositor does this. That means the compositor could implement a "remember window positions" feature and it would work automatically for all native Wayland app windows. This is tracked in Bug 15329. Until that happens, the compositor instead simply places all windows according to the placement policy. *** This bug has been marked as a duplicate of bug 15329 *** (In reply to TraceyC from comment #5) > Unfortunately, Wayland does not yet remember apps positions, per bug 15329 > > Native Wayland windows are not allowed to determine where to place > themselves on screen at all; the compositor does this. That means the > compositor could implement a "remember window positions" feature and it > would work automatically for all native Wayland app windows. This is tracked > in Bug 15329. Until that happens, the compositor instead simply places all > windows according to the placement policy. > > *** This bug has been marked as a duplicate of bug 15329 *** In fact, it's not even "remember windows position", it's really that windows opens only on LEFT screen, whatever we said is main screen. So in my sense, it's a different bug : on wayland, the windows always open on left screen, and not on main screen. (In reply to mysterty from comment #6) > In fact, it's not even "remember windows position", it's really that windows > opens only on LEFT screen, whatever we said is main screen. > > So in my sense, it's a different bug : on wayland, the windows always open > on left screen, and not on main screen. In an earlier comment, you said that the problem happened when restarting the computer. If there's also a problem that during a normal session, all window only open on the non-primary screen, that's a different bug. Please open a different report for that. Thanks. (In reply to mysterty from comment #6) > So in my sense, it's a different bug : on wayland, the windows always open > on left screen, and not on main screen. There is no "main screen". KWin puts windows on the screen you last interacted with - moved a window to, moved the mouse on, that stuff. (In reply to TraceyC from comment #7) > (In reply to mysterty from comment #6) > > In fact, it's not even "remember windows position", it's really that windows > > opens only on LEFT screen, whatever we said is main screen. > > > > So in my sense, it's a different bug : on wayland, the windows always open > > on left screen, and not on main screen. > > In an earlier comment, you said that the problem happened when restarting > the computer. > If there's also a problem that during a normal session, all window only open > on the non-primary screen, that's a different bug. Please open a different > report for that. Thanks. In fact, when you define your left screen as "main", all applications at restart pops on left screen. So in my sense, the bug is that "main screen" definition is not working. (In reply to Zamundaaa from comment #8) > (In reply to mysterty from comment #6) > > So in my sense, it's a different bug : on wayland, the windows always open > > on left screen, and not on main screen. > > There is no "main screen". KWin puts windows on the screen you last > interacted with - moved a window to, moved the mouse on, that stuff. On configuration tool : go to screens, select your screen, apply "primary" (or main, or whatever your traduction says) |