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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-pa/-/commit/74541 |ma/plasma-pa/-/commit/fd056
                   |f649f6adb6308e32f04e1187718 |8d0eb4a7a430e6789f4e7b900b1
                   |04ac3b42                    |b833bd8c

--- Comment #14 from cwo <[email protected]> ---
Git commit fd0568d0eb4a7a430e6789f4e7b900b1b833bd8c by Christoph Wolk.
Committed on 01/07/2025 at 11:18.
Pushed by cwo into branch 'Plasma/6.4'.

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


(cherry picked from commit 74541f649f6adb6308e32f04e118771804ac3b42)

Co-authored-by: Christoph Wolk <[email protected]>

M  +25   -0    applet/main.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/fd0568d0eb4a7a430e6789f4e7b900b1b833bd8c

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

Reply via email to