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

Nate Graham bugzilla_noreply at kde.org
Tue Nov 9 17:23:04 GMT 2021


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

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kconfigwidgets/commi
                   |                            |t/82c40f18709484fd462643aa1
                   |                            |13a8ccf961b646a

--- Comment #8 from Nate Graham <nate at kde.org> ---
Git commit 82c40f18709484fd462643aa113a8ccf961b646a by Nate Graham, on behalf
of Felix Ernst.
Committed on 09/11/2021 at 17:22.
Pushed by ngraham into branch 'master'.

Fix hamburger menu opening as a window on Wayland

Before this commit, if an app window is unfocused and the first
click on the window is the hamburger menu button, the menu would
appear displaced as a separate window on Wayland.

This commit fixes this by setting a sane transientParent for the
menu. This is slightly difficult because there can be any number
of hamburger buttons in any number of different windows so we need
to figure out spontaneously which button was pressed to open the
menu.

M  +24   -2    src/khamburgermenuhelpers.cpp
M  +1    -1    src/khamburgermenuhelpers_p.h

https://invent.kde.org/frameworks/kconfigwidgets/commit/82c40f18709484fd462643aa113a8ccf961b646a

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


More information about the kfm-devel mailing list