Bug 445213

Summary: When context menu is auto-closed by a notification or pop-up timing out, the next two right-clicks are dropped
Product: [Plasma] kwin Reporter: Nate Graham <nate>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jackhill3103, postix
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://codereview.qt-project.org/c/qt/qtwayland/+/347783
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2021-11-09 16:38:13 UTC
Git master everything Plasma Wayland on Fedora 34.

STEPS TO REPRODUCE
1. Send a notification with `notify-send foo bar`
2. Right-click on the desktop to show a context menu but don't click on anything

OBSERVED RESULT
When the notification times out, the context menu disappears. Thereafter, right-clicking again does not work until you right-click *exactly* three times. On the third right-click, a context menu will once again appear.

EXPECTED RESULT
The context menu does not disappear when a notification times out, and even if it did, this would not drop the next two right-clicks.
Comment 1 Nate Graham 2021-11-09 16:43:32 UTC
According to Vlad, this is an upstream Qt issue, with an open patch to try to fix it: https://codereview.qt-project.org/c/qt/qtwayland/+/347783
Comment 2 Nate Graham 2022-08-23 09:59:00 UTC
*** Bug 458009 has been marked as a duplicate of this bug. ***