Bug 457979 - Long-click on desktop inappropriately enters "Edit Mode"; should only trigger for touch devices
Summary: Long-click on desktop inappropriately enters "Edit Mode"; should only trigger...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop Containment (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-17 02:12 UTC by koeame0
Modified: 2022-08-22 12:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description koeame0 2022-08-17 02:12:06 UTC
SUMMARY
There is a mouse / touchpad gesture that lets me trigger this if I simply click and hold for no more than a second. Sometimes, I have a pen-based graphics tablet that lets me press and hold for more than a second. This feature gets annoying when I'm not intentionally trying to trigger this function or anything else requiring a long-click.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE 15.4 Leap
(available in About System)
KDE Plasma Version:  5.25.4

ADDITIONAL INFORMATION
I'd really like some way to turn this off, because after I had a mailing list in the KDE community we later figured out this was likely hardcoded and a part of plasma5-mobile. There should be some way to turn this off at least, given I'm always in a desktop and it should be more convenient to cater to desktop-only users like me. I already have Alt + D and the context menu for my right click to enter edit mode, why would I need a third shortcut that hinders my ability to use things like my graphics tablet?
Comment 1 Nate Graham 2022-08-17 19:58:35 UTC
Yeah, this is supposed to only trigger for touch, not pointing devices.
Comment 2 Bug Janitor Service 2022-08-19 00:31:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2031
Comment 3 Nate Graham 2022-08-22 12:44:52 UTC
Git commit 3f612a31a0caa63ea2c40f9ae78167049d43ba6b by Nate Graham.
Committed on 22/08/2022 at 12:38.
Pushed by ngraham into branch 'master'.

Only accept press-and-hold to enter Edit Mode, not click-and-hold

Press-and-hold is fairly common on touch UIs, but click-and-hold is a
very rare interaction. As a result, the user is much more likely to
enter Edit Mode accidentally while trying to drag something on the
desktop than they are to know that click-and-hold works here and do
it intentionally.

Let's disable click-and-hold and only enter Edit Mode with a
press-and-hold using a touch device. For pointing device users, there
are already multiple context menus items that will let them enter Edit
Mode.
FIXED-IN: 5.26

M  +6    -0    components/containmentlayoutmanager/appletslayout.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/3f612a31a0caa63ea2c40f9ae78167049d43ba6b