Bug 468817

Summary: Screen energy saving causes multiple problems when waking up
Product: [Plasma] plasmashell Reporter: Steven A. Falco <stevenfalco>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: akselmo, aleixpol, nate, notmart, xaver.hugl
Priority: NOR Keywords: multiscreen
Version First Reported In: 5.27.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: windows before sleeping
After waking monitors

Description Steven A. Falco 2023-04-22 16:17:48 UTC
SUMMARY
I have a two monitor desktop.  I enabled "screen energy savings" but when I move the mouse to wake up the monitors, I can no longer click on anything.  The task bar no longer responds, nor do any of the other panel buttons.

I can drag a window around, so the mouse isn't completely dead, but the window leaves trails of partial images as I drag it around.

Also, the background on the secondary monitor becomes black, rather than the picture I had set as the background.

I'm not able to log out using the panel buttons, since they cannot be clicked.  However, I can switch to a virtual tty and kill the session.  That brings me back to the SDDM screen, and when I log in everything is back to normal.


STEPS TO REPRODUCE
1.  Enable screen energy saving
2. Wait until the monitors turn off
3. Move the mouse to wake the monitors

OBSERVED RESULT

As described above

EXPECTED RESULT

Normal waking of the monitors and desktop fully functional

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

I'm using the X11 graphics platform.  Video card is AMD Radeon Pro W6600.  The primary monitor is connected via Display Port and is an HP ZR30w (2560x1600).  The secondary monitor is connected via a Display Port to HDMI adapter and is an ASUS VA24E (1920x1080).

I'll be happy to provide whatever additional information is needed to solve this.
Comment 1 Zamundaaa 2023-04-24 21:17:57 UTC
That sounds a lot like plasmashell misbehaving. After reproducing the bug, can you check in the kwin debug console (type "kwin" into krunner to open it), if there's any windows called "Desktop"?
Comment 2 Steven A. Falco 2023-04-24 21:56:20 UTC
I opened the kwin debug window before letting the screens go to sleep.  At that point it shows two X11 Desktop windows - one for the 2560x1600 monitor and one for the 1920x1080 monitor.

I then let the screens go to sleep and then woke them back up.  At that point I only have one X11 Desktop window for the 2560x1600 monitor.  So it looks like the one for the 1920x1080 monitor has died.
Comment 3 Steven A. Falco 2023-04-24 22:05:57 UTC
Created attachment 158400 [details]
windows before sleeping

Two desktop windows, proper desktop background.
Comment 4 Steven A. Falco 2023-04-24 22:06:47 UTC
Created attachment 158401 [details]
After waking monitors

Note that one Desktop window has disappeared and the backround is now just plain black.
Comment 5 Akseli Lahtinen 2024-06-03 13:33:56 UTC
I am not able to reproduce this on Plasma 6. Do you still get this issue?
Comment 6 Steven A. Falco 2024-06-03 13:59:08 UTC
I've switched to XFCE.

I guess you can just close this bug.