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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/2511c372d3922378d7f1ba8bf
                   |                            |8c8fe230855e528

--- Comment #6 from cwo <[email protected]> ---
Git commit 2511c372d3922378d7f1ba8bf8c8fe230855e528 by Christoph Wolk.
Committed on 25/02/2026 at 20:53.
Pushed by cwo into branch 'master'.

applets/appmenu: set sourceMenu in Compact mode

Since 5f18319f3bf15c5d92321473850b3fbae6a2f5b5, the global menu does
some reshuffling of the menus to make the search function work properly,
and resets m_currentMenu to m_sourceMenu when the menu hides. The
problem is that for the compact (single-button) menu widget style, we
never set m_sourceMenu in the first place (as it's otherwise
unnecessary without the search function that's only available in the
full width version), so we set the menu to null. This means that if you
show the menu then click away, it can't open again (as the underlying
menu is gone) until the menu is regenerated (typically by focusing a
different window, then going back to the original one).

Instead, also set the sourceMenu in the compact style.

M  +1    -0    applets/appmenu/appmenuapplet.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/2511c372d3922378d7f1ba8bf8c8fe230855e528

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

Reply via email to