https://bugs.kde.org/show_bug.cgi?id=474982

--- Comment #13 from Jin Liu <ad.liu....@gmail.com> ---
(In reply to Nate Graham from comment #12)
> Created attachment 163670 [details]
> Works for me

I'm on Arch, and have the same problem. It only shows inhibitors present when
the applet is loaded, not anything afterwards.

1. Ensure no inhibitor is present.
2. `systemd-inhibit bash`
3. In another konsole: `plasmoidviewer --applet org.kde.plasma.battery`
4. Click on the icon. It shows `bash` as the inhibitor.
5. Quit `bash`, then run `systemd-inhibit bash` again.
6. The bug.

Also notice that the kscreen applet shows the same info correctly, with roughly
the same code. And I added some logging in the battery applet's
DataSource.onDataChanged to verify that it indeed received the inhibitor list
correctly. The bug probably is not in dbus, but in the applet's own logic.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to