Bug 354544 - Windows move after power savings mode
Summary: Windows move after power savings mode
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (other bugs)
Version First Reported In: 5.4.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-29 09:05 UTC by Amichai Rothman
Modified: 2022-11-08 22:18 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amichai Rothman 2015-10-29 09:05:48 UTC
Since my recent upgrade to Kubuntu 15.10 (KDE 5.4.2), in a multi-monitor setup, I've noticed that sometimes when I return to the computer after a few hours away, i.e. when the monitors are resumed from power-savings mode, the open windows are moved from the original location to the left or right. It seems like the monitor geometry is being changed at some point during the monitor power-down or power-up, causing the windows to be re-positioned, and when all monitors are on and visible again, the location is not correct. This did not happen on 5.3.x to the best of my knowledge.

Currently, whenever I step away from my computer for a while and return, I need to manually reposition all open windows to the way they were before, which is quite an inconvenience.

I'm not sure if this is the right package to report this for - if not, please move it to the appropriate package.


Reproducible: Always
Comment 1 Justin Zobel 2021-03-10 00:32:21 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Dan 2021-07-23 17:45:01 UTC
This problem still occurs on Kubuntu 20.04 (KDE Plasma 5.18.5).

It appears to be due to my two DP monitors waking up at different speeds: 
The secondary monitor wakes up first and KScreen re-arranges with it as the primary, sole display. This results in many of the windows moving around. 
Then the actual primary monitor wakes up so KScreen switches back to a dual-screen configuration and returns the windows to their original displays - but those on the secondary display are all now in the wrong positions.
Comment 3 jching 2021-08-03 21:19:14 UTC
can confirm this problem still persists.

debian unstable, kscreen 5.20.5-1

the weird thing is that only certain programs get moved after resume.

konsole window always gets moved, but for some reason, my spotify client window manages to stay on the correct monitor after resume

let me know if there are any logs or anything i can contribute to this report

thanks
Comment 4 jching 2021-08-31 03:21:59 UTC
issue seems to be fixed for me!

debian unstable, kscreen 5.21.5-2

thanks developers!
Comment 5 Nate Graham 2022-11-08 22:18:51 UTC
This was additionally fixed even more in KWin 5.26!