Bug 453498 - Wayland right click menu disappears immediately, not rendering properly
Summary: Wayland right click menu disappears immediately, not rendering properly
Status: RESOLVED UPSTREAM
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-07 12:36 UTC by Syiad
Modified: 2022-05-09 18:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Syiad 2022-05-07 12:36:15 UTC
SUMMARY
***
On plasma Wayland sessions, the right click menu disappears again immediately after the first right click. The second right click then sometimes straight activates the first item in the menu and it disappears again. It needs multiple right clicks (plus closing windows that were opened from the unwanted activation) to get the menu to stay on the screen.

Additionally, the menu items in the context menu sometimes only appear after the mouse pointer has been hovering over them.
***


STEPS TO REPRODUCE
1. Right-click on an icon in dolphin or on an empty spot on the desktop (or anywhere else).
2. 
3. 

OBSERVED RESULT
1. click: Context menu disappears immediately
2. click: First menu item is selected/activated, then the menu disappears - this may happen several times
3. or later click: The menu stays on the screen and items can be selected. However, items may remain invisible until the mouse pointer hovers over them.

EXPECTED RESULT
Context menu appears and stays after one right click. All items are visible and can be selected via mouse pointer or arrow keys.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04 (This has also been a problem in earlier releases)
(available in About System)
KDE Plasma Version: 5.24.5 and earlier
KDE Frameworks Version: 5.93.0 and earlier
Qt Version: 5.15.3 and earlier

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-09 17:22:55 UTC
Is there a chance the menu disappears at the exact moment that a notification or tooltip also disappears? If so, this is Bug 427542.

> Additionally, the menu items in the context menu sometimes only appear after the mouse pointer has been hovering over them.
That is separate issue, tracked with Bug 432264.
Comment 2 Syiad 2022-05-09 17:36:53 UTC
Maybe. Sometimes it concurs with a tool tip disappearing, but sometimes there is no tool tip and the context menu disappears (or the first item is selected before it disappears).
Comment 3 Nate Graham 2022-05-09 17:43:17 UTC
Thanks.

That'll be still another upstream Qt issue, different from the ones I already mentioned. Can you report it at https://bugreports.qt.io/ and then paste a link to it in the "See also" field of this bug report? Thanks again!
Comment 4 Syiad 2022-05-09 18:01:33 UTC
Aye!
Comment 5 Nate Graham 2022-05-09 18:52:13 UTC
Thank you!