Bug 495946 - On X11, unresponsive and partially painted desktop after unlocking screen
Summary: On X11, unresponsive and partially painted desktop after unlocking screen
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.2.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2024-11-07 23:46 UTC by Tristan Miller
Modified: 2025-02-24 17:59 UTC (History)
1 user (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 Tristan Miller 2024-11-07 23:46:58 UTC
When unlocking the screen, about 20% of the time, I don't get taken back to my desktop environment as usual.  Instead, some or all elements of the desktop are missing (usually the panel, and sometimes also window title bars or maybe entire windows) and the system is generally unresponsive to keystrokes or mouse clicks.  However, if I re-lock the screen with my usual keyboard shortcut, and then immediately unlock it again, everything works as expected.

I found other bug reports here concerning problems unlocking after waking the computer from sleep.  However, in my case putting the computer to sleep is not necessary to trigger the bug.  It's sufficient to simply lock the desktop, wait several minutes or hours without suspending the computer, and then unlock it again.

Reproducibility: Sometimes

Steps to reproduce:

1. Lock the screen.
2. Unlock the screen.

Observed result:

3. The desktop is only partially displayed and is unresponsive to keystrokes and mouse clicks.

Expected result:

3. The desktop should be restored with full visibility and functionality.

Software/OS versions:

OS: openSUSE Tumbleweed
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Graphics platform: X11
Comment 1 Nate Graham 2024-11-08 22:38:12 UTC
What GPU are you using? Does it also happen on Wayland?
Comment 2 Tristan Miller 2024-11-10 15:53:07 UTC
(In reply to Nate Graham from comment #1)
> What GPU are you using? Does it also happen on Wayland?

I'm using an onboard Intel HD Graphics 630.

I haven't tested Wayland and am not sure if I could run it long enough to reproduce the bug.  (Last I checked it had too many showstopping or dealbreaking bugs.)
Comment 3 Nate Graham 2024-11-12 15:44:31 UTC
Could you try again?
Comment 4 Tristan Miller 2024-11-12 17:55:34 UTC
I'm trying now.  The other bugs are as annoying as ever.  I'll keep up with it for a while to see if I can reproduce the problem.
Comment 5 Tristan Miller 2024-11-25 20:26:21 UTC
I used Wayland for about 10 days and didn't observe the bug.  By contrast, I usually do see it once or twice a week when using X11.  So I think we can assume for now that the problem occurs only with X11.
Comment 6 Nate Graham 2024-11-26 21:13:07 UTC
Thanks a lot for such exhaustive testing. Really appreciated.
Comment 7 TraceyC 2025-02-24 17:59:14 UTC
Adding the x11-only keyword