horriblename / hyprgrass

hyprland plugin for touch gestures
BSD 3-Clause "New" or "Revised" License
269 stars 11 forks source link

Normal swipes not working anymore. #76

Closed matt1432 closed 3 months ago

matt1432 commented 9 months ago

Since the edge swiping feature was added, I can't do normal workspace swipes. The edge swiping also seems a bit hard to get to work.

horriblename commented 8 months ago

does workspace swipe completely stop working or something else?

are you sure the edge swiping pr caused it? And not the long press pr #70?


I just realized the base threshold for edge swipe is ridiculously high, fixed in #80

matt1432 commented 8 months ago

It definitely comes from this commit: https://github.com/horriblename/hyprgrass/commit/60bf0c0eef0e506f0291f9b5f7b5d33c56a5efb1

matt1432 commented 8 months ago

Here's a video to show the before and after

https://github.com/horriblename/hyprgrass/assets/98562002/fe0af174-409d-4008-9777-ba1a61d57589

matt1432 commented 8 months ago

I just realized the base threshold for edge swipe is ridiculously high, fixed in https://github.com/horriblename/hyprgrass/pull/80

I also tested this and it is perfect now btw!

horriblename commented 8 months ago

please send config, if possible reduced to hyprgrass options + the builtin gestures options. and also re-send the video, it seems to be corrupted.

matt1432 commented 8 months ago
plugin {
  touch_gestures {
    # The default sensitivity is probably too low on tablet screens,
    # I recommend turning it up to 4.0
    sensitivity = 4.0

    # must be >= 3
    workspace_swipe_fingers = 3

    experimental {
      # send proper cancel events to windows instead of hacky touch_up events,
      # NOT recommended as it crashed a few times, once it's stabilized I'll make it the default
      send_cancel = 0
    }
  }
}

gestures {
    workspace_swipe = yes
    workspace_swipe_fingers = 3
    workspace_swipe_cancel_ratio = 0.15
}

https://github.com/horriblename/hyprgrass/assets/98562002/00ae34f5-0c88-4984-a62d-c70198649cad

horriblename commented 8 months ago

should be fixed now (#83)

test pls

matt1432 commented 8 months ago

So it doesn't do the weird visual stutter anymore but most of the time if I start a swipe from anywhere other than the edges it just won't do anything.

The edge swipes work perfectly so I'll just use that but yeah, if I start in the middle of the screen it won't do anything like 8/10 times.

matt1432 commented 3 months ago

Tried the plugin again after some time and this has been fixed sinced then