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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |3c9fd70cc13f3af80743ce0e45f
                   |                            |9ed5a729324a3
         Resolution|---                         |FIXED
            Version|                            |6.7.1
  Fixed/Implemented|                            |
                 In|                            |

--- Comment #5 from cwo <[email protected]> ---
Git commit 3c9fd70cc13f3af80743ce0e45f9ed5a729324a3 by Christoph Wolk.
Committed on 18/06/2026 at 07:18.
Pushed by cwo into branch 'master'.

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

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/3c9fd70cc13f3af80743ce0e45f9ed5a729324a3

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

Reply via email to