Bug 489196

Summary: Power Management Widget does not show battery or power profile on login, but on new addition
Product: [I don't know] kde Reporter: wheniwasatruestar
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: On the left, we have the battery and power widget that as observed after reboot, while the widget on the right has just been placed.
Similar left/right for "Brightness and Color" widget

Description wheniwasatruestar 2024-06-25 18:35:49 UTC
Created attachment 170972 [details]
On the left, we have the battery and power widget that as observed after reboot, while the widget on the right has just been placed.

SUMMARY
"power and battery" widget complains of issues upon login, but has no issues if just placed.

STEPS TO REPRODUCE
1. Preferably with a laptop, place a "power and battery" widget on the desktop.
2. Reboot the computer.
3. Login.
4. Observe that power profiles/battery indicator is lacking in the "power and battery" widget.
5. Repeat if bug does not occur.
6. Place a fresh "power and battery" widget beside.
7. Observe it differs from the old, first "power and battery" widget.

OBSERVED RESULT
A newly added widget has no issues whereas a widget that was placed prior to reboot has issues.

EXPECTED RESULT
The act of rebooting to not cause race conditions for the widget upon login.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 5 × Unknown Type, 7 × AMD Ryzen 5 7640U w/ Radeon 760M Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon 760M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A5

ADDITIONAL INFORMATION
Please refer to image attachment for clarity.
Comment 1 wheniwasatruestar 2024-06-25 18:59:37 UTC
Created attachment 170973 [details]
Similar left/right for "Brightness and Color" widget

Similar behaviour observed in "Brightness and Color" widget on a different archlinux computer.
Comment 2 Nate Graham 2024-06-26 00:11:49 UTC

*** This bug has been marked as a duplicate of bug 488915 ***