JoseExposito / touchegg

Linux multi-touch gesture recognizer
GNU General Public License v3.0
3.65k stars 168 forks source link

Change desktop not transitionning #614

Closed NoxFly closed 1 year ago

NoxFly commented 1 year ago

Describe the bug

I've setup the CHANGE_DESKTOP gesture. It is working, but only fading, not sliding.

Expected behaviour

The desktops should slide (horizontally) like we can see on the demo, accordingly to the current fingers's position.

Actual behaviour

The animation is only a simple fade and not a slide.

Watch on this video : https://youtu.be/3Y_kcn2fFGQ

Current configuration :

<touchégg>
  <settings>
    <property name="animation_delay">150</property>
    <property name="action_execute_threshold">20</property>
    <property name="color">auto</property>
    <property name="borderColor">auto</property>
  </settings>

  <application name="All">
    <gesture type="SWIPE" fingers="3" direction="UP">
      <action type="RUN_COMMAND">
        <repeat>false</repeat>
        <command>qdbus org.kde.kglobalaccel /component/kwin invokeShortcut 'Expose'</command>
        <animate>true</animate>
      </action>
    </gesture>
    <gesture type="SWIPE" fingers="3" direction="LEFT">
      <action type="TILE_WINDOW">
        <direction>left</direction>
        <animate>true</animate>
      </action>
    </gesture>
    <gesture type="SWIPE" fingers="3" direction="RIGHT">
      <action type="TILE_WINDOW">
        <direction>right</direction>
        <animate>true</animate>
      </action>
    </gesture>
    <gesture type="SWIPE" fingers="4" direction="LEFT">
      <action type="CHANGE_DESKTOP">
        <direction>next</direction>
        <animate>auto</animate>
        <animationPosition>auto</animationPosition>
      </action>
    </gesture>
    <gesture type="SWIPE" fingers="4" direction="RIGHT">
      <action type="CHANGE_DESKTOP">
        <direction>previous</direction>
        <animate>auto</animate>
        <animationPosition>auto</animationPosition>
      </action>
    </gesture>
  </application>
</touchégg>

Logs

If required, include logs of the bug:

Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/home/noxfly/.config/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Connection with Touchégg established
Gesture begin detected
    Gesture information:
        Fingers: 4
        Type: SWIPE
        Direction: LEFT
    Gesture performed on app: konsole
    Action configured for this gesture
    Starting action
Gesture update detected (3.50598%)
Gesture update detected (5.72734%)
Gesture update detected (7.97028%)
Gesture update detected (10.5151%)
Gesture update detected (13.0384%)
Gesture update detected (15.3461%)
Gesture update detected (17.5027%)
Gesture update detected (20.2848%)
Gesture update detected (22.765%)
Gesture update detected (24.857%)
Gesture update detected (26.9058%)
Gesture update detected (29.1056%)
Gesture update detected (32.1249%)
Gesture update detected (35.209%)
Gesture update detected (37.3656%)
Gesture end detected

Your environment

JoseExposito commented 1 year ago

Hi!

Touchégg only animates the little arrow you can see in this GIF: https://github.com/JoseExposito/touchegg#switch-desktopsworkspaces-change_desktop

The change desktop animation is performed by your desktop environment, KDE. Apparently, you can configure the animation used by KDE: https://www.reddit.com/r/kde/comments/9nb7ki/switch_virtual_desktop_animation_changed/

Closing the issue, since I can not change the animation performed.