Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workspace animation doesn't happen when letting go of finger during 3 finger vertical swipe #1100

Open
Eddio0141 opened this issue Feb 8, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Eddio0141
Copy link

With 3 fingers on the touchpad and moving it up / down, letting go of the touchpad completely finishes the animation as expected, but if I remove some fingers (but not all), it will snap back to the original workspace without any animation no matter how far I've swiped it
This doesn't happen with horizontal movement

Video_2025-02-08_20-00-02.mp4

System Information

  • niri version: niri stable v25.01 (commit e05bc26)
  • Distro: NixOS
  • GPU 1: AMD Radeon RX 7700S [Discrete]
  • GPU 2: GPU 2: AMD Radeon 780M [Integrated]
  • CPU: AMD Ryzen 7 7840HS
@Eddio0141 Eddio0141 added the bug Something isn't working label Feb 8, 2025
@YaLTeR
Copy link
Owner

YaLTeR commented Feb 8, 2025

Yeah so this is called gesture cancelling. When you lift a finger like this, libinput indicates that the gesture got cancelled rather than completed, and should ideally be undone.

I didn't do the cancelling for the horizontal gesture because it would be Complicated to roll it back correctly in all cases. But tbh it's debatable whether cancelling is needed in the vertical case. Maybe we should just ignore it? I think GNOME ignores it at least for the workspace switch

@Eddio0141
Copy link
Author

Eddio0141 commented Feb 8, 2025

Ah ok not really a bug then, I thought its a bug since the inconsistent behaviour with horizontal and vertical, and the animation not happening
I've only found out this exists by accident, and not sure if I'd be using it either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants