Bug 469890 - Allow one-to-one trackpad gestures when slide effect is disabled
Summary: Allow one-to-one trackpad gestures when slide effect is disabled
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 5.27.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-17 12:16 UTC by Pranav Karande
Modified: 2023-05-17 20:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pranav Karande 2023-05-17 12:16:32 UTC
The one-to-one animation when switching virtual desktops using 4-finger or 3-finger swipe is linked to the slide desktop effect. I want to switch to a virtual desktops instantly without animation when I use keyboard shortcuts or by clicking on them in the pager but still want the smooth one-to-one animation when using trackpad gesture.

STEPS TO REPRODUCE
1. Disable Slide desktop effect
2. switch between virtual desktops using 3-finger or 4-finger swipe

OBSERVED RESULT
Switches to new desktop at the end of the swipe without any animation

EXPECTED RESULT
The smooth one-to-one animation

Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 7.2 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: VivoBook_ASUSLaptop TP420IA_TM420IA
System Version: 1.0
Comment 1 Nate Graham 2023-05-17 20:07:06 UTC
The slide effect is the thing that provides the 1:1 animation for touchpads, so I'm afraid there is no way to disable the effect but still have such a feature.

What would be possible is to do one of the following:
- add a setting to disable the effect's animations when switching using something other than a touchpad gesture
- automatically don't use the effect for switching when using something other than a touchpad gesture

But I think these are very niche and would not have broad appeal, requiring a lot of code for little benefit. So I don't think we'll be doing it, sorry.