Bug 483291 - Edit mode gets triggered when switching virtual desktop using touchscreen gesture
Summary: Edit mode gets triggered when switching virtual desktop using touchscreen ges...
Status: REOPENED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: 6.0.1
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 488284 489844 490418 495465 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-11 21:30 UTC by tubbadu
Modified: 2025-10-26 21:03 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screen recording of the bug (302.98 KB, video/webm)
2024-03-11 21:30 UTC, tubbadu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tubbadu 2024-03-11 21:30:40 UTC
Created attachment 166987 [details]
screen recording of the bug

SUMMARY
When switching virtual desktop using the touchscreen gesture (three fingers right/left swipe on the touchscreen), the Edit Mode gets triggered, making the gesture useless as everytime you would need to manually exit edit mode. This does not happen using the touchpad gesture to change virtual desktop.

(Bonus bug, the edit mode popup is not centered, but it's only a visual problem, so nothing serious)


STEPS TO REPRODUCE
1. use Plasma 6 on a device with a touchscreen (HP 2-in-1 laptop-tablet in my case)
2. create a second virtual desktop and place a window there
3. change virtual desktop using the three fingers swipe gesture on the touchscreen

OBSERVED RESULT
Edit mode is triggered

EXPECTED RESULT
Edit mode is not triggered

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS KDE
(available in About System)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
in the attachment the screen recording of the bug
Comment 1 tubbadu 2024-03-11 21:32:16 UTC
forgot to mention, this did not happen in Plasma 5, so it's a plasma 6 only problem
Comment 2 Nate Graham 2024-03-13 15:22:55 UTC

*** This bug has been marked as a duplicate of bug 482222 ***
Comment 3 Nate Graham 2024-10-30 15:24:13 UTC
*** Bug 495465 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-10-30 15:24:40 UTC
*** Bug 488284 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-10-30 15:24:46 UTC
*** Bug 489844 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2024-10-30 15:24:55 UTC
*** Bug 490418 has been marked as a duplicate of this bug. ***
Comment 7 Cameron Smith 2024-12-10 07:06:50 UTC
Should this bug be closed? I note that it was marked as a duplicate of 482222 before a bunch of others were marked as a duplicate of this one. Moreover, the bug unfortunately was never really fixed in 482222 or upstream in Qt, as the problem is still alive and well (see https://bugs.kde.org/show_bug.cgi?id=497076 and https://discuss.kde.org/t/3-finger-gestures-on-touchscreen-bug/15956/14).
Comment 8 TraceyC 2024-12-11 22:38:40 UTC
I am able to reproduce the issue with three finger tap entering Edit Mode on git-master

If I quickly tap with three fingers and swipe:
- Sometimes the gesture works as expected and the virtual desktop is switched
- Sometimes I briefly see Edit Mode, but then the virtual desktop is switched.

If I just tap with 3 fingers in the middle of the desktop, it goes into Edit Mode more often than not
Comment 9 Marco Martin 2025-01-21 14:17:48 UTC
related to https://bugs.kde.org/show_bug.cgi?id=482222  is probably a qtquick bug not forwardning touchcancel events, see https://codereview.qt-project.org/c/qt/qtdeclarative/+/589794
Comment 10 Niccolò Venerandi 2025-10-26 14:29:40 UTC
I cannot reproduce this anymore, regardless of which taps I do first. It seems like this is fixed; but if it indeed is a qt bug, then it should be resolved upstream anyway.
Comment 11 Cameron Smith 2025-10-26 21:03:02 UTC
I can still reproduce this, however something has definitely changed recently.

It is now much more difficult to trigger a bugged state, as it is seemingly more difficult to trigger a 3 finger gesture at all (when starting a gesture on the desktop, not an application, where it seemingly behaves normally). When starting a 3 finger gesture on the desktop background, I find it usually tries to just open a selection box with 2 of the three fingers on the touchscreen. If the desktop does go into a bugged state (with some difficulty), then 3 finger gestures work normally (as do they on applications, where selection boxes cannot be drawn).

In the bugged state (see bug 482222), a permanent selection box stays static on the screen until an external mouse/touchpad moves around, showing a selection box present at all times, beginning at the top left corner of the screen.

Perhaps this is an issue with selection boxes and 3 finger touchcancel events? Something recently has changed this quite dramatically, but the bug still remains. I find it's quite difficult to notice as it's hard to start 3 finger touchevents at all on my laptop anyway.