Bug 465859

Summary: Audio applications can inhibit and prevent automatic screen lock
Product: [Plasma] kscreenlocker Reporter: Porkepix <porkepix>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Porkepix 2023-02-16 17:47:04 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Have automatic session lock after X minutes enabled
2. Use a software playing audio such as https://gitlab.gnome.org/World/Shortwave/ and have it play whatever you want
3. Wait the timer for the automatic session lock to pass: while dimming and display shutdown will happen, session lock won't

OBSERVED RESULT

Session doesn't lock

EXPECTED RESULT

While this behavior is perfectly fine and wished when playing video, it's not when only player audio.
On top of that, this have a "dangerous" side-effect in that by reflexes one can type its session password because the screen is still shutdown, and notice too late that the password wasn't typed on the screen lock but on whatever application that's on foreground, and that can be eg. an IM client.

SOFTWARE/OS VERSIONS
ArchLinux
Linux/KDE Plasma: 5.26.5
(available in About System)
I'm not seeing an "About System", where should it be looked for?
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-02-17 20:40:30 UTC

*** This bug has been marked as a duplicate of bug 464119 ***