Bug 492241 - The battery icon in the notification area occasionally disappears
Summary: The battery icon in the notification area occasionally disappears
Status: RESOLVED FIXED
Alias: None
Product: Powerdevil
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.27.11
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-27 01:40 UTC by Zk Wang
Modified: 2024-08-27 19:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zk Wang 2024-08-27 01:40:02 UTC
SUMMARY

The battery icon in the notification area occasionally disappears. When this happens, I found the following logs reported by `journalctl`.

```
8月 27 09:33:59 wzk-matebook plasmashell[6333]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:61:17: Unable to assign [undefined] to int
8月 27 09:33:58 wzk-matebook plasmashell[6333]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:61:17: Unable to assign [undefined] to int
8月 27 09:33:35 wzk-matebook plasmashell[6333]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:61:17: Unable to assign [undefined] to int
8月 27 09:33:05 wzk-matebook plasmashell[6333]: file:///usr/share/pla
```

This bug disappears after rebooting, but it will appear again in some cases.


STEPS TO REPRODUCE
1.  Enter the plasma workspace.
2.  Check the battery icon in the notification area.
3. 

OBSERVED RESULT

The battery icon is missing. Reboot the system and the battery icon appears.


EXPECTED RESULT

The battery icon should always appear in the notification area.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.10.6-amd64 (64 bit)
Display: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-08-27 19:54:13 UTC
This is fixed in Plasma 6.