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

Andrea Ippolito <andrea.i...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrea.i...@gmail.com

--- Comment #17 from Andrea Ippolito <andrea.i...@gmail.com> ---
(In reply to Jakob Petsovits from comment #16)
> Git commit 43ca4f3bf083651c2ac8b803596e3827ed8d5e76 by Jakob Petsovits.
> Committed on 23/09/2024 at 21:48.
> Pushed by jpetso into branch 'Plasma/6.2'.
> 
> components/batterycontrol: React to D-Bus service (un)register events
> 
> Previously, the "Power and Battery" applet only checked for the
> presence of PowerDevil's D-Bus services once when it starts up.
> This appears to (mostly?) work for applets embedded in a panel,
> but does not work for applets on the desktop itself.
> Likely there's a timing issue and applets on the desktop start
> sooner than PowerDevil will advertise its services.
> 
> A better way to work is for the applet to monitor the bus for when
> the relevant services appear or disappear. When observing a service
> registered or unregistered event, the applet gets set up accordingly.
> 
> This fixes the race condition for one out of three applet parts
> (battery state) but does not fix power profiles & inhibitions;
> these were fixed separately in the powerdevil repository
> via commit 8e698dbc (master branch) / commit 5e8cd380 (Plasma/6.2).
> Related: bug 488915, bug 489003, bug 492945
> 
> M  +82   -15   components/batterycontrol/batterycontrol.cpp
> M  +6    -1    components/batterycontrol/batterycontrol.h
> 
> https://invent.kde.org/plasma/plasma-workspace/-/commit/
> 43ca4f3bf083651c2ac8b803596e3827ed8d5e76

Hi Jacob, were you able to get this reviewed, by any chance?

I'm affected by this issue, and while it's not as bad as I initially feared
(PPD is still running in the end, so my battery won't get killed), it's surely
a lack of polish.

Thanks!

https://discuss.kde.org/t/power-and-battery-widget-fails-to-see-power-profiles-daemon-as-running/24716
https://forums.opensuse.org/t/kde-power-profiles-daemon-does-not-start-correctly/179921

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

Reply via email to