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
forgot to mention, this did not happen in Plasma 5, so it's a plasma 6 only problem
*** This bug has been marked as a duplicate of bug 482222 ***
*** Bug 495465 has been marked as a duplicate of this bug. ***
*** Bug 488284 has been marked as a duplicate of this bug. ***
*** Bug 489844 has been marked as a duplicate of this bug. ***
*** Bug 490418 has been marked as a duplicate of this bug. ***
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).
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
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
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.
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.