https://bugs.kde.org/show_bug.cgi?id=483805

--- Comment #17 from Louis Moureaux <m_loui...@yahoo.com> ---
The status quo is quite bad for me because I keep my system in power saving
mode most of the time, so I can no longer see the battery level. But I
appreciate having a status icon for power profiles as well.

There are icons in 4 sizes (16/22/24/32) for 11 charge levels (000 to 100) and
charging/not charging variants. All others are symbolic links.

The way I made the icon is fairly straightforward:
1. Took one of the normal battery icon
2. Drew a simplified 8x8 leaf icon
3. Made a clipping shape by extruding the leaf by 1px
4. Subtracted the clipping shape from the normal battery icon
Then I hand-tuned one node to avoid a weird shape but a better clipping path
would do the job as well.

I could automate this procedure to generate as many icons as needed from the
emblems and clipping paths. I'd just have to draw 8 shapes and write a small
script (hopefully the renderer supports clipping?), which is quite in the realm
of feasibility. Creating the icons for Breeze is not an issue.
The same logic could probably be implemented in QML, reducing the total number
of icons but some of them would become quite technical.

Switching to per-profile icons would send users back to the previous status
quo. Whether this is an acceptable regression is IMHO something the maintainers
should arbitrate.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to