Bug 430404 - Context menu sometimes blocks touch input -- Unable to interact with or close touch context menu created by TapAndHold gesture/transition to other apps without mouse
Summary: Context menu sometimes blocks touch input -- Unable to interact with or close...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Gestures (show other bugs)
Version: 5.20.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 23:16 UTC by personalizedrefrigerator
Modified: 2023-05-08 07:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description personalizedrefrigerator 2020-12-14 23:16:29 UTC
SUMMARY
Opening the context menu via a tap and hold can create a context menu that cannot be closed with a touchscreen.

STEPS TO REPRODUCE
1. Open Dolphin
2. Tap and hold, thereby showing the context menu
3. Tap on the main Dolphin window, closing the context menu
4. Open the context menu again by tapping and holding (on, say, a folder)
5. Tap away from the context menu.
6. Attempt to change focus to another window using the touchscreen.
7. Click on one of the actions in the context menu.

OBSERVED RESULT
After closing the context menu by tapping away from it once, newly-opened context menus require using a mouse to close.

I am unable to switch focus to other windows, including panels (with touch) before closing this context menu.

EXPECTED RESULT
Tapping on something other than the context menu should close the context menu, regardless of the number of times the context menu has been closed in this way.

I should be able to interact with other apps via touch after opening this context menu.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: X11/Neon Packages (available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-12-15 21:55:09 UTC
Can confirm the bug with those steps to reproduce.
Comment 2 Steffen 2020-12-16 10:56:10 UTC
This bug exists also in Gwenview (hier two finger tap for contextmenu), application launcher (Kickoff) and on the desktop in the folder view mode.
Comment 3 personalizedrefrigerator 2021-01-12 01:55:57 UTC
This doesn't seem to be an issue with Wayland.