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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kirigami/-/commit/64
                   |                            |b13ba1bcbb6ec0d86cd92799ec4
                   |                            |5661044d46c
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Akseli Lahtinen <[email protected]> ---
Git commit 64b13ba1bcbb6ec0d86cd92799ec45661044d46c by Akseli Lahtinen.
Committed on 12/05/2026 at 11:26.
Pushed by akselmo into branch 'master'.

GlobalDrawer: Use implicitWidth, set preferredHeight in item

In GlobalDrawer, using width here causes
undefined behavior since the item is inside a layout.
Use implicitWidth instead.

In GlobalDrawerItem, the preferredHeight can
fluctuate based on text height, for example when
text field is empty.
To make sure it is always same, use metrics.height
as the preferredHeight.
This is noticeable in languages where the glyph
heights can differ from each other.

M  +1    -1    src/controls/GlobalDrawer.qml
M  +1    -0    src/controls/private/GlobalDrawerActionItem.qml

https://invent.kde.org/frameworks/kirigami/-/commit/64b13ba1bcbb6ec0d86cd92799ec45661044d46c

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

Reply via email to