Bug 441354

Summary: Touchscreens: Tapping and holding on a panel should show a context menu or enter panel edit mode
Product: [Plasma] plasmashell Reporter: Firlaev-Hans <firlaevhans.fiete>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: 4wy78uwh, bugseforuns, el, nate, niccolo.venerandi
Priority: NOR Keywords: usability
Version: 5.22.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Firlaev-Hans 2021-08-22 11:41:24 UTC
SUMMARY
Nothing happens when you tap and hold on a panel

STEPS TO REPRODUCE
1. Be on a device with a touchscreen (such as a 2in1 laptop)
2. Tap and hold on the panel

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
When you touch (and hold) an empty area on the panel, you should either get into panel edit mode or show the right click context menu.
Touching and holding on an applet or system tray icon should show its right-click context menu (this seems to work some of the time but it is very inconsistent)

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.83
Qt Version: 5.15.2
Both Wayland and X11
Comment 1 Patrick Silva 2022-02-17 12:56:07 UTC
Still an issue on neon unstable. Possibly duplicate of bug 445901.
Comment 2 Nate Graham 2022-02-17 23:56:18 UTC
Looks like we'll also need to forward taps from empty areas of wide applets (like the Task Manager), not only clicks.
Comment 3 Ellie 2024-07-03 13:02:24 UTC
This bug actually seems to make panel editing entirely unavailable on touch devices. Given how many icons KDE spawns by default this is a bit of a usability problem especially on tablets with a smaller screen, since the panel can be crowded to the point where it's hard to still see what you want or pin any apps at all (and you can't remove any of the tray icons due to the panel edit mode being unreachable). Or is there any workaround available? I would be curious to hear about one, and sorry if I just missed it.
Comment 4 Bug Janitor Service 2024-08-15 13:15:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2443
Comment 5 Niccolò Venerandi 2024-08-19 15:30:00 UTC
Git commit f10c5d51f6e2699cf3c85535e9528587cad910e3 by Niccolò Venerandi.
Committed on 19/08/2024 at 15:29.
Pushed by niccolove into branch 'master'.

Enter panel edit mode on touchscreen panel longpress

M  +2    -1    applets/taskmanager/package/contents/ui/Task.qml
M  +7    -1    containments/panel/contents/ui/main.qml

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