Bug 440241

Summary: Application Menu sometimes fails to close on mouse click on Wayland
Product: [Plasma] plasmashell Reporter: k2squared
Component: Application Menu (Kicker)Assignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, nate, plasma-bugs
Priority: NOR Keywords: wayland
Version: 5.22.3   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description k2squared 2021-07-24 23:04:58 UTC
On Wayland, the Application Menu fails to close when the desktop or another window is clicked. This problem only happens if the application categories in the menu are hovered over and the sub-menus that pop-up on hover do *not* remain open when clicking on the desktop. The search box focus may be a factor.


STEPS TO REPRODUCE:
1. Click the panel icon to open the menu.
2. Hover the mouse cursor over any of the application categories so that the category sub-menu pops up (This also causes the blinking cursor in the search box to disappear).
3. Move the mouse cursor off the Application Menu to the desktop in such a way that the sub-menu popup disappears, either by moving quickly past the sub-menu, or by moving off another edge of the Application Menu. (The search box remains unfocused).
4. Click on the desktop. The Application Menu should close, but it does not.
5. Click in the search box to refocus it, move the mouse cursor to the desktop *without* passing over the application categories, and click the desktop. The menu closes as expected.

Note that at step 3, if any of the pop-up sub-menus remain open when the desktop is clicked, the Application Menu closes as expected.

Clicking the panel icon always closes the Application Menu as expected.

The problem is not seen on X11. Once the mouse moves from hovering over the application categories and onto the desktop, the search box regains focus and clicking the desktop closes the menu as expected.


SOFTWARE/OS VERSION
Operating System: openSUSE Tumbleweed 20210721
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-6600U CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 520
Comment 1 Patrick Silva 2021-10-30 19:16:27 UTC

*** This bug has been marked as a duplicate of bug 443774 ***