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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kconfigwidgets/-/com
                   |                            |mit/abb6be11cb4bcdf476ac319
                   |                            |174eef640c6eddf24

--- Comment #12 from Nate Graham <[email protected]> ---
Git commit abb6be11cb4bcdf476ac319174eef640c6eddf24 by Nate Graham, on behalf
of Pavel Urusov.
Committed on 22/09/2026 at 11:23.
Pushed by ngraham into branch 'master'.

KLanguageButton: fix the language menu overflow

When the menu is opened for the first time from a KSwitchLanguageDialog,
KPopupAccelManager changes the text of the language actions to add
keyboard mnemonics. QMenu::actionEvent() responds by calling
resize(sizeHint()) on the visible menu, bypassing the height limit applied
during popup.

Register the language popup menu with KAcceleratorManager when it's created;
then the text is changed on QMenu::aboutToShow, before the initial sizing is
applied.

M  +2    -0    src/klanguagebutton.cpp

https://invent.kde.org/frameworks/kconfigwidgets/-/commit/abb6be11cb4bcdf476ac319174eef640c6eddf24

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

Reply via email to