Bug 402859

Summary: Gestures API in libkwineffects is not suitable for creating animations that "follow fingers"
Product: [Plasma] kwin Reporter: Vlad Zahorodnii <vlad.zahorodnii>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, daljit97, j5lx, nate, sawyerbergeron, uhhadd
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 401479    

Description Vlad Zahorodnii 2019-01-04 15:02:33 UTC
SUMMARY
Currently, there is no way to create "continuous gestures". In general, it would be great to emit begin(), update(), and end()/cancel() for swipe and pinch gestures.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.53
Qt Version: 5.12
Comment 1 Daljit 2020-04-14 16:01:07 UTC
I would like to contribute to this (I am familiar with C++ and Qt) and have been looking how to implement this. From the documentation of libkwineffects I didn't quite understand how the effects are implemented in combination with the touchpad gestures (especially how the code for Wayland is implemented differently than that for X11) and what exactly is needed to be modified to implement the necessary APIs. If someone could point me in the right direction to familiarize myself with the gestures API, it would be great.
Comment 2 Nate Graham 2021-06-16 20:26:37 UTC
This is in progress! See https://invent.kde.org/plasma/kwin/-/merge_requests/1059
Comment 3 Janet Blackquill 2022-02-07 20:18:10 UTC
oop, forgot to mark this fixed with the merge of !1059. doing so now.