Bug 470682 - windows move monitors when waking from sleep
Summary: windows move monitors when waking from sleep
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2023-06-05 21:52 UTC by Henrik Hudson
Modified: 2023-09-10 03:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Hudson 2023-06-05 21:52:01 UTC
After waking from sleep windows move to different monitors. I have a dual monitor setup. When waking from sleep windows will sometimes move to the other window. This "was" (I think) fixed in the early 5.27.0 release, but has crept back up again. It's much better than pre-5.27, but still annoying.

Gut feeling is kwin tries to "place" the windows before both monitors fully respond or are "awake", so it just moves everything to 1. They're identical monitors: Dell U2719D . Sometimes they move to the "primary" and sometimes to the secondary. Both monitors are connected via HDMI.

This does not happen after every sleep (that I've noticed).

system:
Operating System: openSUSE Tumbleweed 20230604
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.4-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series
Manufacturer: Dell Inc.
Product Name: OptiPlex 7060
Comment 1 Nate Graham 2023-06-07 19:11:37 UTC
Sounds plausible. Then when the monitor wakes up, KWin doesn't move the windows again for some reason.
Comment 2 Henrik Hudson 2023-06-19 19:46:36 UTC
I should add I have only noticed this with Konsole.  I normally only have browsers (Firefox, Edge, Chromium and Konsole) and sometimes kate / VS Code. The only one that does this is Konsole that I've noticed, but I keep my stuff in specific monitors / virtual desktops and the other's don't move. Since I have 10 or 20 different Konsole windows up it's sometimes hard to track them, but it appears it might be moving the window back to the monitor it was opened on vs. the one it's on when it goes to sleep.
Comment 3 Zamundaaa 2023-07-27 13:07:43 UTC
Does this also happen on Wayland?
Comment 4 Bug Janitor Service 2023-08-11 03:45:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Henrik Hudson 2023-08-11 05:27:53 UTC
I don't know. I don't normally run Wayland due to some focus and sharing issues with MS Teams. I can give it a shot.
Comment 6 Bug Janitor Service 2023-08-26 03:45:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-09-10 03:45:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!