hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
563 stars 60 forks source link

hyprexpo: sometimes unable to exit #126

Open alba4k opened 7 months ago

alba4k commented 7 months ago

Hyprexpo sometimes goes into a state where clicking on workspaces won't select them anymore (just pass the input down to below the screen). normal hyprexpo:expo toggle/disable/off means won't help. The only way to close hyprexpo becomes to disable it

https://github.com/hyprwm/hyprland-plugins/assets/84153269/7fb48902-851a-4f12-8672-a9870e26b050

vaxerski commented 7 months ago

shouldn't be possible... how to repro? Never seen this.

alba4k commented 7 months ago

I'm still trying to figure that out (which is why I only opened the issue now, but it has been happening since I first tried out he)

Will let you know

Also, noticed while playing around with gaps, the gaps disappear

muhchaudhary commented 7 months ago

Just experienced this as well when launching with 4 finger swipe.

postsolar commented 7 months ago

I can get it consistently but my setup is a bit nuanced:

  1. I use fusuma to set up some gestures. My fusuma config is as follows:
    
    swipe:
    3:
    left:
      command: zsh -ic "hyprctl dispatch workspace m+1"
    right:
      command: zsh -ic "hyprctl dispatch workspace m-1"
    up:
      command: zsh -ic "hyprctl dispatch hyprexpo:expo toggle"

threshold: swipe: 0.2

interval: swipe: 0.7


2. My hyprexpo config is this:

```hyprlang
plugin {
  hyprexpo {
    bg_col = rgb(111111)
    columns = 4
    gap_size = 5
    workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1
    enable_gesture = false # laptop touchpad, 4 fingers
    gesture_distance = 300 # how far is the "max"
    gesture_positive = true # positive = swipe down. Negative = swipe up.
  }
}
  1. 3-fingers swipe up to toggle hyprexpo
  2. 3-fingers swipe left (left specifically, swipe right doesn't cause this)
  3. Get it stuck like in the vid above

Not sure at all but I feel like that final swipe left gesture triggers both a click and the gesture.