Bug 482354

Summary: org.freedesktop.ScreenSaver::Inhibit ignored by Plasma 6
Product: [Plasma] KScreen Reporter: Marcelo Vanzin <mmvgroups>
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns
Priority: NOR Keywords: qt6
Version: 6.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: script to inhibit screen saver using freedesktop dbus service

Description Marcelo Vanzin 2024-03-04 04:23:42 UTC
Created attachment 166380 [details]
script to inhibit screen saver using freedesktop dbus service

SUMMARY
Not sure if it's the right component. But since upgrading to Plasma 6, applications that inhibit the screen saver / display power management have failed to do so. For example, playing a video in Chrome will not prevent the screen from turning off.

I also had a script I wrote a long time ago (attached) to prevent the display from turning off, and it does not seem to work with Plasma 6.

STEPS TO REPRODUCE
1. Turn off display auto-turn-off in settings
2. Run application that inhibits screen saver
3. Watch as screen still turns off

OBSERVED RESULT
Screen turns off after configured time.

EXPECTED RESULT
Screen does not turn off while application has inhibited the screen saver.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 22.04 / Plasma 6 / X11
KDE Plasma Version: 6.0.0
KDE Frameworks Version:  6.0.0 (?)
Qt Version: 6.6.2
Comment 1 Patrick Silva 2024-03-04 12:06:19 UTC

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