Bug 509688

Summary: Stop respecting screen sleep inhibition on the lock screen
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.4.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2025-09-19 16:29:36 UTC
STEPS TO REPRODUCE
1. open Power Management KCM
2. open the second combobox beside "Turn off screen:" and choose "When locked: Immediately"
3. apply the change
4. play a video in youtube with Chromium or Vivaldi
5. lock the screen by pressing the keyboard shortcut - I use meta+L

OBSERVED RESULT
the screen is locked but the screen remains on. The screen is turned off as expected if I minimize the browser window before locking the screen.

EXPECTED RESULT
the screen is locked and then the screen is immediately turned off

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.90
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-09-19 18:02:22 UTC
I guess the browser is inhibiting screen sleep, and we respect that in the lock screen. We could stop respecting it in the lock screen, because the reason for inhibiting screen sleep (to keep something visible) no longer applies.