Quantcast
Channel: PowerDevil activity
Viewing all articles
Browse latest Browse all 2193

Christoph Wolk accepted merge request !553: 🍒applets/batterymonitor: only show one battery icon in desktop tray at Plasma / PowerDevil

$
0
0

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

Instead, we also test for the ContainmentForcesSquarePlasmoidscontainment hint (which the tray sets), and consider the widgetconstrained in that case - with a forced square plasmoid, showingmultiple icons doesn't make much sense anyway.

BUG: 504697FIXED-IN: 6.4.0

(cherry picked from commit 58f2c466)

Co-authored-by: Christoph Wolk cwo.kde@posteo.net


Viewing all articles
Browse latest Browse all 2193

Trending Articles