Summary: | Power management remains inhibited after checking and then unchecking its checkbox | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Dashon <dashonwwIII> |
Component: | Battery Monitor | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | antonio.dimartino1, bugseforuns, dashonwwIII, kitts.mailinglists, lemuelsimon32, med.medin.2014, nate, peri.com, pfyu817, plasma-bugs, popov895, rockingcat, witchhunterpro |
Priority: | VHI | Keywords: | regression |
Version: | 5.21.2 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=440350 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/6379d1ec8d4a1fce141280eead930a6cdd9282d1 | Version Fixed In: | 5.23 |
Sentry Crash Report: |
Description
Dashon
2021-02-26 19:00:37 UTC
Sometimes I have to toggle it as many as 8 times it would seem. After a bit of testing. I don't think this problem is in latte-dock, but in the battery-applet itself. It does inhibit the screen on a normal plasma panel, but the difference is unlike latte. Plasmashell does not report the battery applet as blocking while latte does report that the battery applet is blocking. Moved this to the battery monitor widget since the issue is actually present on the default panel as well. The difference is that latte dock reports the issue while the plasma panel does not. Also present in the latest neon user. Checking the option inhibits sleep, however, unchecking it does not restore state. Just wanted to add that toggling it once is enough now. Checking the box will inhibit screen sleep and like @Kishore mentioned unchecking the box does not allow the screen to sleep again. *** Bug 439451 has been marked as a duplicate of this bug. *** Can confirm. *** Bug 439315 has been marked as a duplicate of this bug. *** FWIW, while watching dbus-monitor "sender=org.kde.Solid.PowerManagement.PolicyAgent" and unchecking the option, it registers inhibit signal after some delay, but checking it afterwards will produce an immediate error: error time=1629547820.839541 sender=:1.22 -> destination=:1.28 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=29403 string "No such method 'UnInhibit' in interface 'org.freedesktop.PowerManagement.Inhibit' at object path '/org/freedesktop/PowerManagement/Inhibit' (signature 'i')" Good find! I can confirm that. However `qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement/Inhibit` shows that the method exists: method void org.freedesktop.PowerManagement.Inhibit.UnInhibit *** Bug 442064 has been marked as a duplicate of this bug. *** Fixed by Peifeng Yu with https://invent.kde.org/plasma/plasma-workspace/-/commit/6379d1ec8d4a1fce141280eead930a6cdd9282d1 in Plasma 5.23! I will email distros and ask them to backpor tit to 5.22.5, since no further 5.22 bugfix releases are planned. *** Bug 435895 has been marked as a duplicate of this bug. *** *** Bug 442243 has been marked as a duplicate of this bug. *** *** Bug 436068 has been marked as a duplicate of this bug. *** |