Bug 509898 - Hold to right click action unreliable on touch screens
Summary: Hold to right click action unreliable on touch screens
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 6.4.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 459546 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-09-24 21:21 UTC by tramonti.luca18
Modified: 2025-09-26 00:31 UTC (History)
4 users (show)

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


Attachments
A video representing multiple tap and hold attempts, of which many failed (1.39 MB, video/webm)
2025-09-24 21:21 UTC, tramonti.luca18
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tramonti.luca18 2025-09-24 21:21:17 UTC
Created attachment 185229 [details]
A video representing multiple tap and hold attempts, of which many failed

SUMMARY
Holding on applications to trigger their context menu doesn't always work, disrupting the experience when attempting to pin apps or execute other actions

STEPS TO REPRODUCE
1. Open the application launcher
2. Tap and hold on various apps

OBSERVED RESULT
Sometimes it doesn't work
Sometimes it stops working for a while
Sometimes it only doesn't work rarely

EXPECTED RESULT
The context menu shows reliably

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Kinoite 42 (6.16.7-200.fc42.x86_64 (64-bit))
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
I have attached a video showing multiple tap and hold attempts
Comment 1 Akseli Lahtinen 2025-09-25 09:07:22 UTC
*** Bug 459546 has been marked as a duplicate of this bug. ***
Comment 2 Bug Janitor Service 2025-09-25 14:15:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3209
Comment 3 Marco Martin 2025-09-25 14:56:43 UTC
Git commit f2946de7279a4c471b1bba322629a71544f4922d by Marco Martin.
Committed on 25/09/2025 at 14:56.
Pushed by mart into branch 'master'.

applets/Kickoff: fix menu with long touch

Use a proper TapHAndler accepting only events from an anctual
touchscreen in order to show the context menu on long press.
On a mousearea is not possible to be reliable, because if the
actual mouse cursor position is outside the delegate, we will get
the synthetized mouse event reported with no button.

M  +4    -6    applets/kickoff/AbstractKickoffItemDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/f2946de7279a4c471b1bba322629a71544f4922d
Comment 4 Marco Martin 2025-09-25 15:04:07 UTC
Git commit d2583d7800c4c50dd0c20d549e19d4f4860923b2 by Marco Martin.
Committed on 25/09/2025 at 14:56.
Pushed by mart into branch 'Plasma/6.5'.

applets/Kickoff: fix menu with long touch

Use a proper TapHAndler accepting only events from an anctual
touchscreen in order to show the context menu on long press.
On a mousearea is not possible to be reliable, because if the
actual mouse cursor position is outside the delegate, we will get
the synthetized mouse event reported with no button.


(cherry picked from commit f2946de7279a4c471b1bba322629a71544f4922d)

f2946de7 applets/Kickoff: fix menu with long touch

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +4    -6    applets/kickoff/AbstractKickoffItemDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/d2583d7800c4c50dd0c20d549e19d4f4860923b2