Bug 488134 - On X11, when screen is locked and all black, hitting ESC key turns the screen on and then back off immediately
Summary: On X11, when screen is locked and all black, hitting ESC key turns the screen...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (other bugs)
Version First Reported In: 6.0.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression, X11-only
Depends on:
Blocks:
 
Reported: 2024-06-07 01:51 UTC by FishBoneEK
Modified: 2025-08-19 20:15 UTC (History)
3 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 FishBoneEK 2024-06-07 01:51:33 UTC
SUMMARY
At login screen, hitting ESC turns the screen off. But if the screen is already off, the screen will turn on, then off in a short time.

STEPS TO REPRODUCE
1. Login to KDE session
2. CTRL-L to lock the screen
3. Press or hold ESC

OBSERVED RESULT
Screen flashes

EXPECTED RESULT
Screens should go off when it's on, or stay off when it's already off

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
SDDM contributor confirms it's not related to SDDM, but to KDE. See https://github.com/sddm/sddm/issues/1947#issuecomment-2151446908
Comment 1 David Redondo 2024-06-07 07:36:53 UTC
Cannot reproduce on master Wayland, the screen just turns on again.

Can  reproduce on X
Comment 2 David Redondo 2024-06-07 11:58:51 UTC
I think what happens is that the escape press turns the screen on, and then kscreenlocker sees the escape press and turns it off again
Comment 3 FishBoneEK 2024-06-07 13:20:15 UTC
(In reply to David Redondo from comment #2)
> I think what happens is that the escape press turns the screen on, and then
> kscreenlocker sees the escape press and turns it off again

Yes that's what I think too.  
By the way I forgot to add that I'm using Xorg instead of Wayland.
Comment 4 Nate Graham 2024-06-07 14:15:45 UTC
Is this about the *login* screen or the *lock* screen?
Comment 5 FishBoneEK 2024-06-07 14:18:57 UTC
(In reply to Nate Graham from comment #4)
> Is this about the *login* screen or the *lock* screen?

I think it's the lock screen?  Anyways it's the screen that appears after you hit CTRL-L, not the one that appears after you boot your computer, so it's the lock screen.
Comment 6 Nate Graham 2024-06-07 15:50:04 UTC
Thanks.
Comment 7 TraceyC 2025-02-24 17:59:00 UTC
Adding the x11-only keyword
Comment 8 Nate Graham 2025-08-19 20:15:39 UTC
Closing as not worth fixing due to minor effect or esoteric nature, and a shift of focus away from X11. Thanks for understanding, folks!