Bug 406429 - after monitors power off/on screens messed up
Summary: after monitors power off/on screens messed up
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.14.5
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-11 10:06 UTC by arne anka
Modified: 2022-12-08 05:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka 2019-04-11 10:06:40 UTC
SUMMARY

I've got two monitors on a NVidia adapter.
Left one is primary.
The last two nights I didn't hibernate or shutdown the computer, but only powered off the two monitors.

Yesterday, when powering on the monitors, all open Windows were moved to the left screen.
Today, the whole screen configuration of the right screen was gone:
- different background
- different panel

Judging from the mess in .config/plasmashellrc and the count badges in the "Add Widgets ..."  popup, the screen configuration still exists, but isn't applied anymore because plasma fails to recognize the screen.

It took me over an hour, a reboot and eventually setting up everything again, because it is impossible to convince kscreen that screen X is the same one as yesterday, and it is impossible to get back the apparently still existing screen configuration.

I don't know how kscreen tries to recognize monitors, but that obviously is flawed.
And in any case, those ghostly screen configuration should be available somewhere to help people to work around the mess kscreen creates.

Those lost configurations I encounter rather often, but usually after a reboot - not simply after power off/on of just two monitors.
Comment 1 Will Marler 2020-07-22 04:35:05 UTC
Hey Arne, I came here looking for a solution for a similar problem you're describing, and I suspect that what was described in https://bugs.kde.org/show_bug.cgi?id=376341#c30 is my problem. Unfortunately my monitors do not have the ability to disable automatic input switching, so I'm stuck. 

Maybe if you can confirm it's a thing, and more people can confirm it's a thing, a fix could be developed?
Comment 2 Matthew Barnes 2020-10-31 00:18:20 UTC
I am also having the same issue.  Dual monitor configuration with the left one as primary.  The secondary seems to be the one that keeps losing the configuration.  Different background and panel configuration.  My only workaround right now is to turn off power management for the monitors so they don't go to sleep.
Comment 3 Nate Graham 2022-11-08 21:28:16 UTC
The issue with windows moving should have been fixed with KWin in Plasma 5.26. For the other issues, can we ask you to please check if this is still an issue with Plasma 5.26?

If it is, please change the status to CONFIRMED when replying. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Comment 4 Bug Janitor Service 2022-11-23 05:15:37 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 Bug Janitor Service 2022-12-08 05:15:12 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!