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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |3c9fd70cc13f3af80743ce0e45f |806cce3bf65ade3d6d1e7a76033
                   |9ed5a729324a3               |2aa29ddf36d5a

--- Comment #7 from cwo <[email protected]> ---
Git commit 806cce3bf65ade3d6d1e7a760332aa29ddf36d5a by Christoph Wolk.
Committed on 22/06/2026 at 15:04.
Pushed by cwo into branch 'Plasma/6.7'.

applets/kickoff: explicitly set implicit sizes for fullRep StackView

Kickoff uses implicit sizes of the content to find its regular size on
first run. Once set and written to the config, AppletPopup will maintain
this size when the implicit sizes change on subsequent runs, but for the
first run, implicit size changes will resize the window. Almost all
pages in Kickoff set the same content sizes (as the main views have
implicit sizes based on fitting a certain amount of items, which is the
same for all content views), but this breaks on search views: the
content view still has the regular size, but we don't have a sidebar or
footer. Everything works as expected on the second or later run of
Plasma after adding the applet, but on the first one starting a search
will inappropriately change the size of the popup. This issue was
avoided prior to 6.7 by setting a preferred size on the fullRep, but
this caused its own issues.

Instead, we set the implicit size of the StackView itself to the
implicit size of the starting page. We never want to size this StackView
differently from the default page anyway, as doing so could only ever
work on the very run of Plasma that this applet instance was added, and
the default page's size is the correct size for kickoff overall, so this
seems semantically correct independently of how Plasma handles popup
sizes.
FIXED-IN: 6.7.1


(cherry picked from commit 3c9fd70cc13f3af80743ce0e45f9ed5a729324a3)

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

M  +2    -0    applets/kickoff/FullRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/806cce3bf65ade3d6d1e7a760332aa29ddf36d5a

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

Reply via email to