Bug 482354 - org.freedesktop.ScreenSaver::Inhibit ignored by Plasma 6
Summary: org.freedesktop.ScreenSaver::Inhibit ignored by Plasma 6
Status: RESOLVED DUPLICATE of bug 482141
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-04 04:23 UTC by Marcelo Vanzin
Modified: 2024-03-04 12:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
script to inhibit screen saver using freedesktop dbus service (294 bytes, text/x-python3)
2024-03-04 04:23 UTC, Marcelo Vanzin
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***