Bug 402859 - Gestures API in libkwineffects is not suitable for creating animations that "follow fingers"
Summary: Gestures API in libkwineffects is not suitable for creating animations that "...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks: 401479
  Show dependency treegraph
 
Reported: 2019-01-04 15:02 UTC by Vlad Zahorodnii
Modified: 2022-02-07 20:18 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.