Bug 494563 - Battery tray no longer hides
Summary: Battery tray no longer hides
Status: RESOLVED LATER
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 6.2.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-10-11 18:32 UTC by Damglador
Modified: 2024-12-21 21:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damglador 2024-10-11 18:32:04 UTC
SUMMARY
So in Plasma 6.1.5 I think everything was nice and cool, if my laptop is fully charged and charger is plugged in - battery tray icon just hides since its no longer needed. After updating to Plasma 6.2 I noticed that the battery is full, set to "Show if needed", charger is plugged, but it just stays there, forever. Changing it to "Always hide" or "Disabled", "Always show" and back to "Show if needed" doesn't do anything.

STEPS TO REPRODUCE
1. Get a laptop or something with a battery and KDE Plasma
2. In tray options set battery icon to "Show if needed"
3. Fully charge the device

OBSERVED RESULT
Tray icon doesn't hide as it did in Plasma before 6.2

EXPECTED RESULT
Battery tray icon should hide

SOFTWARE/OS VERSIONS
Linux: 6.11.3-arch1-1
KDE Plasma Version: 6.2.0
KDE Frameworks Version: idk how to get
Qt Version: 6.7.3-1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-11-14 19:47:43 UTC
When it's inappropriately in a visible state and you hover the pointer over it, what's the text in the tooltip say?
Comment 2 Bug Janitor Service 2024-11-29 03:46:30 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-12-14 03:46:48 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 4 Damglador 2024-12-14 14:25:05 UTC
(In reply to Nate Graham from comment #1)
> When it's inappropriately in a visible state and you hover the pointer over
> it, what's the text in the tooltip say?

It's now have been fixed. Battery tray icon hides as it should
Comment 5 Damglador 2024-12-16 19:46:19 UTC
Never mind, not quite fixed. 
1. It says 99% charged, but the indicator is already white like it's fully charged.
2. It hides for a moment when I unplug, and for a little bit longer when I plug back, but then it comes back
3. I noticed that it shows "Time to full charge: 0:05", I waited for 5 minutes... then for another minute... then for another minute.... and after probably another 5 minutes it did hide.

So technically the issues are:
1. Even when a battery is not fully charged, tray icons turns white on 99% or so
2. "Time to full charge:" doesn't display seconds or any indication that it isn't just stuck, it can be at "0:00" for several minutes
Comment 6 Damglador 2024-12-16 19:48:54 UTC
Note: normally, if battery charges, the tray icon is green. If it's fully charged and plugged - white with lightning. If it's draining - white or red on low percentage. So I expect it to be green on 99%
Comment 7 Nate Graham 2024-12-17 15:54:54 UTC
So at this point it looks like it's not an issue with the widget code, but rather the underlying data model on your system is providing weird data, which the widget then faithfully presents.