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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/4b4090d1a238f6f5c3aaae4e9
                   |                            |838b02342c22b61
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.3.5
             Status|CONFIRMED                   |RESOLVED

--- Comment #20 from cwo <cwo....@posteo.net> ---
Git commit 4b4090d1a238f6f5c3aaae4e9838b02342c22b61 by Christoph Wolk.
Committed on 01/05/2025 at 21:40.
Pushed by cwo into branch 'master'.

applets/notes: don't set Layout preferred sizes

Currently, the fullRepresentation sets Layout.preferredSize. This gives
the widget a default size for the desktop representation or the panel
popup, but is much too eager on desktop - when the desktop layout is
recomputed (such as on plasmashell startup), it will try to give the
widget that size. If space for the preffered size is available in either
dimension, the widget size that the user chose will be overwritten by
the default size. Messing with the user's desktop widget arrangement in
this way is not nice; we should respect the user's choices where
possible.

Instead, set the width and height of the PlasmoidItem. A newly added
widget will use this for its default size, but will not override any
sizes the user chooses later.
FIXED-IN: 6.3.5

M  +3    -2    applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/4b4090d1a238f6f5c3aaae4e9838b02342c22b61

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

Reply via email to