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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.4.2
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-pa/-/commit/74541
                   |                            |f649f6adb6308e32f04e1187718
                   |                            |04ac3b42
             Status|ASSIGNED                    |RESOLVED

--- Comment #13 from cwo <[email protected]> ---
Git commit 74541f649f6adb6308e32f04e118771804ac3b42 by Christoph Wolk.
Committed on 30/06/2025 at 14:37.
Pushed by cwo into branch 'master'.

applet: set minimum size on compactRepresentation

Apparently Plasma can get confused and briefly think that the applet
should be in its fullRepresentation when reconnecting to a disconnected
display. In that case, it will keep the Layout.minimum sizes from that
form, and make the compactRepresentation as wide (or high in case of a
vertical panel) as the fullRepresentation would be (at its minimum, the
switch size). With other applets that use similar layouting strategies
but which use the default compactRepresentation, this does not happen,
as the default compact Representation explicitly sets minimum sizes.

So we do the same here; unsetting seems to work too but for consistency
we set the same minimum sizes as in the default compactRepresentation.
FIXED-IN: 6.4.2

M  +25   -0    applet/main.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/74541f649f6adb6308e32f04e118771804ac3b42

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

Reply via email to