Bug 482276

Summary: System tray icon for power profile doesn't match the active power profile mode after restarting Plasma or the whole system
Product: [Plasma] plasmashell Reporter: Florian Unterfrauner <prg.flori>
Component: Power and Battery widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: eifr0980, kde, natalie_clarius, nate
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video which shows the bug

Description Florian Unterfrauner 2024-03-03 08:14:54 UTC
Created attachment 166333 [details]
video which shows the bug

SUMMARY
after staring KDE Neon with KDE 6 the power profile system tray icon is always set to the icon as it would be balanced, also if it is actually in Performance


STEPS TO REPRODUCE
1. set power profile to Performance (in the system tray)
2. restart
3. system tray icon for power profile is the icon for balanced, but if you press on it and open the popup it shows correctly that the power profile is Performance (so only the icon is the problem)

OBSERVED RESULT
system tray icon for power profile is always (after restart) Balanced, instead of Performance, although it is set to Performance

EXPECTED RESULT
system tray icon for power profile corresponds to the power profile mode (also after restart)

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7,1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: LENOVO
Product Name: 81HN
System Version: Lenovo V130-15IKB
Comment 1 Nate Graham 2024-03-05 17:21:31 UTC
Can reproduce just by restarting plasmashell as well.