https://bugs.kde.org/show_bug.cgi?id=504697
cwo <cwo....@posteo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/powerdevil/-/commit/58f2 |ma/powerdevil/-/commit/4d29 |c466e48562f5c78cd19990148af |cd00de35dce18c43f78eefb02f7 |473bbde24 |8f2059f41 --- Comment #4 from cwo <cwo....@posteo.net> --- Git commit 4d29cd00de35dce18c43f78eefb02f78f2059f41 by Christoph Wolk. Committed on 26/05/2025 at 20:29. Pushed by cwo into branch 'Plasma/6.4'. 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 (cherry picked from commit 58f2c466e48562f5c78cd19990148af473bbde24) Co-authored-by: Christoph Wolk <cwo....@posteo.net> M +1 -0 applets/batterymonitor/package/contents/ui/CompactRepresentation.qml https://invent.kde.org/plasma/powerdevil/-/commit/4d29cd00de35dce18c43f78eefb02f78f2059f41 -- You are receiving this mail because: You are watching all bug changes.