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

cwo <cwo....@posteo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/powerdevil/-/commit/58f2
                   |                            |c466e48562f5c78cd19990148af
                   |                            |473bbde24
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.4.0

--- Comment #3 from cwo <cwo....@posteo.net> ---
Git commit 58f2c466e48562f5c78cd19990148af473bbde24 by Christoph Wolk.
Committed on 26/05/2025 at 20:10.
Pushed by cwo into branch 'master'.

applets/batterymonitor: only show one battery icon in desktop tray

The compact representation only shows one icon in most cases, but on
the desktop users can resize it to be long in only one direction and
short in the other to get a row or column with one icon for each
connected battery. This breaks in the case of a system tray on the
desktop, where applets inherit the desktop form factor, and the battery
applet appears to have a variably-sized partial icon below it depending
on the tray widget dimensions. (I suspect the change toward nested
plasma containments in 46ada24f is involved).

Instead, we also test for the ContainmentForcesSquarePlasmoids
containment hint (which the tray sets), and consider the widget
constrained in that case - with a forced square plasmoid, showing
multiple icons doesn't make much sense anyway.
FIXED-IN: 6.4.0

M  +1    -0   
applets/batterymonitor/package/contents/ui/CompactRepresentation.qml

https://invent.kde.org/plasma/powerdevil/-/commit/58f2c466e48562f5c78cd19990148af473bbde24

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

Reply via email to