Splitting Touchpad KCM
Open, NormalPublic

Description

Currently, touchpad X11 supports 3 different backends: evdev, synaptics, libinput. However touchpad Wayland only need libinput. Currently, they all mixed and this makes the KCM complex.
At the end of this patch, Touchpad KCM will be splitted into 2 different KCMs; kcm_touchpad (Wayland), kcm_touchpadx (X11)

This patch aims to followings;
1- The future is Wayland + Libinput so having a seperated KCM for it makes the development easier and gives the flexibility to the developer. This leads to more stability.
2- KCMs should be converted to KConfigModule and at the end of the patch, KDE'll have a simple Wayland + Libinput KCM in KConfigModule.
3- touchpadX will be simpler too thanks to cleaning.

The need to this patch is occured when I'm trying to bring the touchpad libinput KCM support to X. Current complexity makes the development really confusing and that means bug. So after this patch, the work for touchpad libinput KCM support will be done.

The current patch strategy is as following:
Stage 1- Renaming current kcm_touchpad as kcm_touchpadx and moving them to the new folder called "touchpadx". Then creating a dummy touchpad in "touchpad" folder which will be kcm_touchpad that will only work in Wayland.
Expected test result: In Wayland, there are 2 Touchpad KCMs, kcm_touchpad which is the dummy Wayland-only KCM and kcm_touchpadx which is the old one with a new name. In X11, there is only kcm_touchpadx.

Stage 2- Remove everything about Wayland in kcm_touchpadx. Make some cleaning. After this patch, X11 related work should be finished at all.
Expected test result: In Wayland, there is only kcm_touchpad which is the dummy Wayland-only KCM. In X11, there is a X11-only, fully functional kcm_touchpadx.

Stage 3- Write Wayland Touchpad KCM in KConfigModule.
Expected test result: Wayland has kcm_touchpad, X11 has kcm_touchpadx. Both working fine. Everything should be working at this point.

Future Patch- Libinput KCM support to X11!

Stage 1 Patch : In progress..
Stage 2 Patch : ToDo
Stage 3 Patch : ToDo

OLD PATCHES
Stage 1 Patch : D13997 Removing Wayland Part of Touchpad KCM
Stage 2 Patch : D14016 Files in "touchpad" Moved To The New Folder "touchpadx"
Stage 3 Patch : D14017 Dummy Wayland Touchpad KCM is Created in "touchpad" Folder

furkantokac triaged this task as Normal priority.
furkantokac updated the task description. (Show Details)Jul 10 2018, 4:58 PM
furkantokac updated the task description. (Show Details)Jul 10 2018, 5:48 PM

Hey guys I'm back.

I continue from Stage 3. At the end of the patch, there will be fully functional Wayland and X support of KCM. It may take time since I'll redesign the KCM to make future development/hacking easier. Thanks.

Great, glad to see you again! Let us know if we can help.

furkantokac updated the task description. (Show Details)Dec 28 2018, 12:22 AM
furkantokac removed a subscriber: romangg.
furkantokac updated the task description. (Show Details)Dec 28 2018, 3:15 AM