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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/qqc2-desktop-style/-
                   |                            |/commit/78b1e6c66e8f0b8c85f
                   |                            |4c75089d3c5884e51df76
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Akseli Lahtinen <[email protected]> ---
Git commit 78b1e6c66e8f0b8c85f4c75089d3c5884e51df76 by Akseli Lahtinen.
Committed on 06/02/2026 at 11:44.
Pushed by akselmo into branch 'master'.

Menu: Calculate implicitHeight from visibleChildren

We should not assign height to implicitHeight. Instead,
iterate through the visibleChildren of the contentItem
and calculate the exact needed space.

Compare it to contentHeight, and select the smaller value:
Our iterator returns the smaller value if some items are hidden,
otherwise contentHeight is correct.

M  +4    -3    org.kde.desktop/Menu.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/78b1e6c66e8f0b8c85f4c75089d3c5884e51df76

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

Reply via email to