[frameworks-kconfigwidgets] [Bug 442375] [Wayland] Hamburger menu opens as window if app window is unfocused

Felix Ernst bugzilla_noreply at kde.org
Tue Sep 21 15:56:06 BST 2021


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

--- Comment #4 from Felix Ernst <fe.a.ernst at gmail.com> ---
Yes, my guess is that the bug is produced because no parent is set for the
QMenu in KHamburgerMenuPrivate::newMenu(). It is saved in a std::unique_ptr
currently which makes the normal workaround
(https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Popup_Menus)
to this not easily applicable.

It is also doubly tricky because this menu is set to be the menu of any
potential amount of hamburger menus that the application might want to place
anywhere including in multiple windows. In practice we are not doing that
currently but this means that there is no clear parent window that can be
reliably chosen and expected to be alive for longer than the QMenu itself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list