Bug 334754 - Battery Widget tries to show days
Summary: Battery Widget tries to show days
Status: REPORTED
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL: http://abload.de/img/powermanager-bat...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 11:43 UTC by Leszek Lesner
Modified: 2021-03-09 05:54 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leszek Lesner 2014-05-14 11:43:05 UTC
The batterywidget in plasma-next beta 1 (tested with neon5 build 20140514) tries to show days when clicking on it which apparently does not work correctly (see screenshot) 

Reproducible: Always

Steps to Reproduce:
1. Click battery symbol in panel
2. Click on battery

Actual Results:  
Tries to show days and hours

Expected Results:  
Only show hours when no days are available.

Tested with plasma next beta 1 (neon5 20140514)
Comment 1 Kai Uwe Broulik 2014-05-14 12:06:52 UTC
Actually it's just using KCoreAddons.Formats formatSpelloutDuration.
Comment 2 Bhushan Shah 2014-05-14 12:39:21 UTC
I fear if that's bug at side of the Import.. (KDeclarative)
Comment 3 Kai Uwe Broulik 2015-03-16 19:18:38 UTC
There's a WrapHours thing where it wouldn't show days, dunno if that works in KDeclarative
Comment 4 Justin Zobel 2021-03-09 05:54:00 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.