https://bugs.kde.org/show_bug.cgi?id=486422
Bug ID: 486422 Summary: Suspend inhibits also end up keeping the display on Classification: Plasma Product: Powerdevil Version: 5.27.80 Platform: Kubuntu OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: m...@mterry.name CC: m...@ratijas.tk, natalie_clar...@yahoo.de Target Milestone: --- SUMMARY When an app inhibits suspend via a freedesktop.org dbus call, it seems to also wake & keep the display on. This causes annoyance when this happens overnight. A user of my backup app reported this issue [1], and I'm reporting it on here with some extra investigation. Here's the backup use case for "suspend only" inhibits (while wanting to allow display to stay off / the session to go idle): - This app can resume backups. So if the user wants to log out or power off, that's fine. - If the user wants to walk away from the machine or otherwise go idle, that's also fine. - But the app wants to be able to finish its work without being suspended through power policy. I've noticed by watching dbus, that the fd.o inhibit request gets sent to Powerdevil as an InterruptSession inhibit. But past that, I am not sure how this ends up resulting in the display staying on. [1] https://gitlab.gnome.org/World/deja-dup/-/issues/462 STEPS TO REPRODUCE 1. Inhibit suspend via dbus (or if using this backup app, run "deja-dup --backup --auto" after configuring a backup) 2. See if display is allowed to turn off (I've not tested this myself, I don't have a KDE system handy and VMs don't seem to reproduce display-power-logic.) OBSERVED RESULT The display wakes up and stays on. EXPECTED RESULT The display to stay off and be allowed to go idle. SOFTWARE/OS VERSIONS Operating System: Kubuntu 23.10 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.0-27-generic (64-bit) Graphics Platform: X11 Processors: 16 × 12th Gen Intel® Core™ i5-12500H Memory: 15.2 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: VivoBook_ASUSLaptop K3502ZA_K3502ZA System Version: 1.0 -- You are receiving this mail because: You are watching all bug changes.