https://bugs.kde.org/show_bug.cgi?id=421662
Bug ID: 421662 Summary: Elisa does not release PowerManagement inhibitions on exit if it's playing when exited Product: elisa Version: 20.04.1 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: matthieu_gall...@yahoo.fr Reporter: gabemarc...@yahoo.com Target Milestone: --- SUMMARY Elisa does not release the inhibition it places on org.freedesktop.PowerManagement.Inhibit while it's playing if it's exited while it is playing. STEPS TO REPRODUCE 1. Launch Elisa 2. Play music through Elisa 3. Exit Elisa without pausing the music OBSERVED RESULT dbus-send --session --dest=org.kde.Solid.PowerManagement.PolicyAgent --type=method_call --print-reply /org/kde/Solid/PowerManagement/PolicyAgent org.kde.Solid.PowerManagement.PolicyAgent.ListInhibitions Shows that there is still elisa's inhibition. dbus-send --session --dest=org.freedesktop.PowerManagement.Inhibit --type=method_call --print-reply /org/freedesktop/PowerManagement/Inhibit org.freedesktop.PowerManagement.Inhibit.HasInhibit returns true. EXPECTED RESULT For there to be no inhibitions from elisa. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo, Plasma (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION I'll check out of curiosity on my end, but it should be possible to fix this by adding something to the PowerManagementInterface destructor, specifically to send a blocking message to the session bus if Elisa is still inhibiting during destruction. -- You are receiving this mail because: You are watching all bug changes.