Bug 432024 - Context menus of panel applets are unusable
Summary: Context menus of panel applets are unusable
Status: RESOLVED DUPLICATE of bug 417939
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-24 09:20 UTC by Antonio Rojas
Modified: 2021-03-04 20:25 UTC (History)
2 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 Antonio Rojas 2021-01-24 09:20:25 UTC
SUMMARY
The context menus of panel applets is almost unusable on a Wayland session in 5.21. When trying to move the cursor to a menu item, the menu disappears 90% of the times

STEPS TO REPRODUCE
1. Right-click on a panel applet to bring up the context menu (most visible on taskbar items)
2. Try to select an item on the menu

OBSERVED RESULT

The menu disappears before the menu item can be selected


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.9
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78
Qt Version: 5.15.2
Comment 1 Antonio Rojas 2021-01-24 09:22:08 UTC
The menu seems to be destroyed at the same time as the tooltip
Comment 2 Vlad Zahorodnii 2021-01-25 07:43:59 UTC
Does the menu disappear when a sub-menu is shown?
Comment 3 Antonio Rojas 2021-01-25 21:16:22 UTC
(In reply to Vlad Zahorodnii from comment #2)
> Does the menu disappear when a sub-menu is shown?

No, it does disappear when some sub-menus are closed (for instance the "Add panel" one which, by the way, appears on the top-left corner of the screen with its own window decoration). For other sub-menus (like the "more actions" item on taskbar items) it doesn't happen. But it always disappears when the tooltip is destroyed.
Comment 4 Thiago Sueto 2021-01-29 07:13:31 UTC
For me this occurs because of the tooltip that is shown when hovering, as it appears almost at the same time as my right click.
If I wait for the tooltip to disappear, the menu doesn't disappear.

This also happens with the thumbnails of the task manager.

(In reply to Antonio Rojas from comment #3)
> No, it does disappear when some sub-menus are closed (for instance the "Add
> panel" one which, by the way, appears on the top-left corner of the screen
> with its own window decoration). For other sub-menus (like the "more
> actions" item on taskbar items) it doesn't happen. But it always disappears
> when the tooltip is destroyed.

I can reproduce this consistently on KWin from git.
Comment 5 Thiago Sueto 2021-02-20 21:10:55 UTC

*** This bug has been marked as a duplicate of bug 416869 ***
Comment 6 Nate Graham 2021-03-04 20:25:38 UTC

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