Bug 437928

Summary: Desktop grid doesn't respond to Touchscreen Input
Product: [Plasma] kwin Reporter: PGillespie <vermontpoet>
Component: effects-desktop-gridAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, dashonwwIII, firlaevhanskde.upstream314, kishore96, mail, nate, nicolas.fella, personalizedrefrigerator, plasma-bugs
Priority: NOR    
Version: 5.24.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.25
Sentry Crash Report:

Description PGillespie 2021-05-31 23:18:16 UTC
SUMMARY

After setting Right Center Edge to "Desktop Grid" via "Touchscreen Settings", and after invoking the Desktop Grid, the grid itself does not respond to touchscreen gestures like tapping, forcing the user to choose another desktop or app via the touchpad or mouse.

STEPS TO REPRODUCE
1. Set (in my use case) right center edge to "Desktop Grid" in Touchscreen Settings.
2. Invoke Desktop Grid via touchscreen.
3. Attempt to interact with the desktop grid via touchscreen.

OBSERVED RESULT

Desktop grid does not respond to touchscreen gestures.

EXPECTED RESULT


SOFTWARE/OS VERSIONS

System:    Host: NEON Kernel: 5.12.8-surface x86_64 bits: 64 Desktop: KDE Plasma 5.21.90 
           Distro: KDE neon 20.04 Testing Edition 

ADDITIONAL INFORMATION

Microsoft Surface Go 1rst Edition
Comment 1 PGillespie 2021-05-31 23:44:01 UTC
Using Wayland.
Comment 2 Aitor 2021-06-27 11:19:26 UTC
I can confirm this issue in OpenSUSE Tumbleweed:
- Plasma 5.22.1
- KDE Frameworks 5.83
- Qt 5.15.2
Comment 3 Aitor 2021-06-27 11:20:09 UTC
And using wayland
Comment 4 Firlaev-Hans 2021-07-16 08:15:31 UTC
Can confirm this issue on:

Operating System: Fedora 34
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.15-300.fc34.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 5 Zamundaaa 2021-10-21 06:45:52 UTC
*** Bug 444164 has been marked as a duplicate of this bug. ***
Comment 6 Zamundaaa 2021-11-29 10:27:08 UTC
*** Bug 446225 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Silva 2022-04-12 13:19:37 UTC
Noticed this bug on neon unstable a few days ago.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 8 Marco Martin 2022-05-06 10:45:41 UTC
Git commit 7a4cabf3287e82e7d1d6ba84b8b059ab470f9f42 by Marco Martin.
Committed on 06/05/2022 at 10:44.
Pushed by mart into branch 'master'.

QML version of the Desktop Grid effect

Replace completely the old desktop grid effect with a QML version.
Aims to feature parity and be a change as transparent as possible for the user.
Related: bug 433071, bug 452625, bug 443971, bug 437121, bug 452925, bug 452439, bug 288530, bug 450254, bug 450106, bug 447832, bug 449960, bug 416576, bug 441862, bug 444859, bug 445999, bug 422117, bug 404627, bug 435483, bug 420744, bug 435482, bug 427055, bug 333445, bug 429120, bug 427391, bug 409295, bug 294322, bug 356955
FIXED-IN: 5.25

M  +5    -0    src/effects.cpp
M  +10   -5    src/effects/desktopgrid/CMakeLists.txt
D  +0    -1571 src/effects/desktopgrid/desktopgrid.cpp
D  +0    -186  src/effects/desktopgrid/desktopgrid.h
D  +0    -32   src/effects/desktopgrid/desktopgrid.kcfg
M  +6    -14   src/effects/desktopgrid/desktopgrid_config.cpp
M  +2    -2    src/effects/desktopgrid/desktopgrid_config.h
M  +68   -144  src/effects/desktopgrid/desktopgrid_config.ui
A  +32   -0    src/effects/desktopgrid/desktopgridconfig.kcfg
M  +5    -1    src/effects/desktopgrid/desktopgridconfig.kcfgc
A  +342  -0    src/effects/desktopgrid/desktopgrideffect.cpp     [License: GPL(v2.0+)]
A  +108  -0    src/effects/desktopgrid/desktopgrideffect.h     [License: GPL(v2.0+)]
M  +5    -4    src/effects/desktopgrid/main.cpp
D  +0    -26   src/effects/desktopgrid/main.qml
M  +1    -0    src/effects/desktopgrid/metadata.json
A  +255  -0    src/effects/desktopgrid/qml/DesktopView.qml     [License: GPL(v2.0+)]
A  +193  -0    src/effects/desktopgrid/qml/main.qml     [License: GPL(v2.0+)]
M  +22   -5    src/effects/private/qml/WindowHeap.qml
M  +21   -3    src/libkwineffects/kwineffects.h
M  +4    -1    src/libkwineffects/kwinquickeffect.cpp

https://invent.kde.org/plasma/kwin/commit/7a4cabf3287e82e7d1d6ba84b8b059ab470f9f42
Comment 9 Patrick Silva 2022-06-30 12:45:52 UTC
Desktop grid stopped working with touchscreen on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 10 Nate Graham 2022-06-30 13:24:26 UTC
Yeah, it was working, but then broke again recently. See Bug 456133 which is tracking that. I'm going to work on it today.