Using kwin_x11 5.9.90, Qt 5.8.0, KF5 17.07.70 on openSuse Tumbleweed on an Asus Laptop which has a Touchscreen, I can no longer use any touch input (e.g. move a window or simply tap on the start menu button or in the taskmanager). This worked in some older version (probably KDE4 times, don't know for sure) and it also works with another window manager. E.g. starting icewm --replace in the same plasma5 session makes touch input work again.
As there is no 5.9.90 yet I need to know which exact git hash was used for the package.
The rpm says: Version : 5.9.90git~20170417T040509~4a5734c HTH
Possible fix at https://phabricator.kde.org/D5520
This sounds as if the touch device (driver) fakes a pointer and this fails when the touch device is passively grabbed? xinput lspci lsusb
Git commit a5735e19b99d21d843252dcb12a147d122760371 by Martin Gräßlin. Committed on 20/04/2017 at 15:03. Pushed by graesslin into branch 'master'. [platforms/x11] Do not grab touch events Summary: Grabbing the touch events seems to cause issues. It seems to also grab pointer events from touchpad and breaks touch input on other events. Also testing shows that we don't need it and get touch ownership events for our screenedge windows reported. Test Plan: Triggered touch screen edge, normal system usage on X11 Reviewers: #plasma, #kwin Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D5520 M +0 -18 plugins/platforms/x11/standalone/xinputintegration.cpp https://commits.kde.org/kwin/a5735e19b99d21d843252dcb12a147d122760371
nope, it's not yet sufficient. The screenedges still block events.
Next try: https://phabricator.kde.org/D5528
Git commit eec6afe6f5fef80f519c7afb33e4fd568d74aab0 by Martin Gräßlin. Committed on 22/04/2017 at 06:17. Pushed by graesslin into branch 'master'. Don't map screenedge approach window if edge is only used for touch Summary: Another regression from enabling touch support on X11. The approach window for pointer input gets unmapped as soon as the mouse enters the window. This ensures that mouse motion events are not stolen from other applications. But with the touch events we did not even react on the enter event if it's not activated for pointer. The result was an area around the screenedge being blocked for pointer input. This change only creates and maps the approach window if the edge is activated for pointer input. Test Plan: Activated edges through pointer and touch, reconfigured and tested motion events Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D5528 M +15 -1 plugins/platforms/x11/standalone/edge.cpp https://commits.kde.org/kwin/eec6afe6f5fef80f519c7afb33e4fd568d74aab0