Bug 435171 - 100% renders as 00% in power applet
Summary: 100% renders as 00% in power applet
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 5.21.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-31 05:33 UTC by gsbhasin84
Modified: 2021-05-19 04:33 UTC (History)
2 users (show)

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


Attachments
An example (2.32 KB, image/png)
2021-03-31 05:33 UTC, gsbhasin84
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gsbhasin84 2021-03-31 05:33:50 UTC
Created attachment 137189 [details]
An example

SUMMARY
This may be the wrong place to report it, I am not sure where else it fits. However, when the battery is at 100% and the show percentage option is set, the Plasma power applet fails to render 100. the 1 is cut off, showing 00%, which looks a bit off. is resolved when 99% is reached.

STEPS TO REPRODUCE
1. open up Plasma on a device with a battery, such as a laptop.
2. charge the battery to 100%
3. set show percentage option on in power applet
3. take the charger off (not sure if this is needed?, and notice that it renders as 00%.

OBSERVED RESULT
100% rendered as 00%

EXPECTED RESULT
should be rendered properly as 100%, but it may look too small then, so not sure really...

SOFTWARE/OS VERSIONS
 
Linux/KDE Plasma: Arch GNU/Linux
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-04-02 00:38:45 UTC
If you make your panel really tall and change the system tray icon size to be "Scales with panel" does the missing number 1 appear?
Comment 2 Bug Janitor Service 2021-04-17 04:33:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 gsbhasin84 2021-04-17 23:36:53 UTC
It does, yes.
Comment 4 Nate Graham 2021-04-19 16:24:08 UTC
OK, so this is a display bug. The icon size isn't big enough to show three-digit text.
Comment 5 Nate Graham 2021-04-19 18:13:42 UTC
Just tried to reproduce this and I cannot.

What is the applet to the left of it that has that red icon? Can you share a screenshot of the whole whole panel?

Also, what font and font size are you using? And are you using full-screen scaling of the Force Font DPI setting at all?
Comment 6 Bug Janitor Service 2021-05-04 04:33:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-05-19 04:33:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!