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: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: 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-01-21 14:17 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed 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