Bug 493601 - New profile badge is not visible when battery percentage is enabled
Summary: New profile badge is not visible when battery percentage is enabled
Status: RESOLVED DUPLICATE of bug 438316
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 6.1.90
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-24 20:13 UTC by Iyán M. V.
Modified: 2025-02-07 19:50 UTC (History)
4 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 Iyán M. V. 2024-09-24 20:13:17 UTC
SUMMARY
I think this change (https://invent.kde.org/plasma/powerdevil/-/merge_requests/399) was a step in the right direction, but unfortunately the badge is not visible when the percentage is shown. Also, I think the badge is too small for thin panels (including the default one).

One possible solution that I think it would work is to make the battery icon vertical instead of horizontal. It could be centered when not showing the battery percentage, and on the left next to the percentage number when this is enabled. Android does a similar thing here. The badge could be put in the center of the battery icon using all the space. I think this solution would work nicely in both vertical and horizontal panels.


STEPS TO REPRODUCE
1. Enable percentage in power and battery applet
2. Switch between different power profiles

OBSERVED RESULT
Percentage hides most of the badge. Only a small corner is visible. Even without the number, the badge looks too small in my opinion.

EXPECTED RESULT
It is nice to always keep the battery icon. I like how the MR fixed that. But I still think a better solution is possible, one that works for vertical and horizontal panels, also thin ones, and with or without the percentage of battery being shown.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.6.0
Qt Version: 6.8.0
Kernel Version: 6.11.0-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: LENOVO
Product Name: 21KDS00600
System Version: ThinkPad X1 Carbon Gen 12
Comment 1 Iyán M. V. 2024-09-24 20:20:34 UTC
I just found a long discussion about the new icons here: https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/376

I was surprised that there is not a single mention to vertical icons there, so perhaps there is a good reason to prefer these icons horizontal, and this was discussed somewhere else.

In any case, I still think that independently of the icons, current situation is not ideal with the percentage enabled and perhaps the issue can be fixed from the qml side, not modifying the icons at all.
Comment 2 Nate Graham 2024-09-24 21:35:52 UTC
Can confirm. The percentage badge causes other problems too; we might want to do a radical re-think of it.

See also https://community.kde.org/Get_Involved/Design/Frequently_Discussed_Topics#Battery_status_icon_and_charge_percentage
Comment 3 Ismael Asensio 2025-02-07 19:50:20 UTC
*** This bug has been marked as a duplicate of bug 438316 ***