Summary: | Tap-to-click missing on Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Matthias Fauconneau <matthias.fauconneau> |
Component: | libinput | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alivema4ever, itl964.biz, kde-bugs.9ek5t, lalochcz, subdiff |
Priority: | NOR | Flags: | mgraesslin:
Wayland+
|
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Tru64 Unix Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Matthias Fauconneau
2016-08-10 18:59:41 UTC
Thanks for your bug reports on Wayland! The main problem here is that the touchpad KCM is currently still X11 only. This needs to be made working on Wayland, then we can configure it from the KCM and apply the configuration in KWin. I pushed a few config option properties yesterday including tap-to-click. Once https://phabricator.kde.org/D2407 is integrated it will be possible to at least configure through DBus. This should now be configurable through DBus at least. For anyone interested, here a little tutorial how to do the configuration over DBus: # Get all possible InputDevice events: qdbus org.kde.KWin.InputDevice # For every such event check its name, until you find the one matching your touchpad: qdbus org.kde.KWin.InputDevice /org/kde/KWin/InputDevice/eventX org.freedesktop.DBus.Properties.Get org.kde.KWin.InputDevice name # For this one get current tapToClick value: qdbus org.kde.KWin.InputDevice /org/kde/KWin/InputDevice/eventY org.freedesktop.DBus.Properties.Get org.kde.KWin.InputDevice tapToClick # It'll be false. So set it to true: qdbus org.kde.KWin.InputDevice /org/kde/KWin/InputDevice/eventY org.freedesktop.DBus.Properties.Set org.kde.KWin.InputDevice tapToClick true # Confirm, that it changed to true: qdbus org.kde.KWin.InputDevice /org/kde/KWin/InputDevice/eventY org.freedesktop.DBus.Properties.Get org.kde.KWin.InputDevice tapToClick When activated, also Multitouch works directly. Nice work, Martin. We've to talk again about the touchpad KCM stuff some time in the future Sweet! This got two finger tap for right click to work as well. It's event9 on my 2015 XPS13. @Roman, thanks for the workaround. Will try it later when starting plasma compositor. (In reply to Alivema4ever from comment #6) > @Roman, thanks for the workaround. Will try it later when starting plasma > compositor. The workaround provided by Roman is working. Tap to click is now available on Plasma. Now waiting for this to be configurable via system settings input configuration. The tapToClick configuration enables both two finger tap for right-click emulation and three finger tap for middle-click emulation. I did a "org.freedesktop.DBus.Properties.GetAll" on my input device to search for a Natural Scrolling configuration option, and it seems to be missing. Is this to be handled in a different but report or all input related here as well? (In reply to Götz from comment #9) > I did a "org.freedesktop.DBus.Properties.GetAll" on my input device to > search for a Natural Scrolling configuration option, and it seems to be > missing. Is this to be handled in a different but report or all input > related here as well? See here: https://bugs.kde.org/show_bug.cgi?id=371791 Marking as fixed as from KWin side everything is there now. FYI Martin has now also made it possible to save the value of tapToClick. So if you're on the KWin master branch you can issue the commands I posted earlier and it'll remember it even after restart. I assume it will be shipped with 5.9. I'm working at the moment on the KCM, so you can change the setting with the GUI at some point in the future. |