koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
22.48k stars 630 forks source link

mouse autoraise stop working #2302

Open slifin opened 1 month ago

slifin commented 1 month ago

This is my current config:

!/usr/bin/env sh

sudo /opt/homebrew/bin/yabai --load-sa /opt/homebrew/bin/yabai -m signal --add event=dock_did_restart action="sudo /opt/homebrew/bin/yabai --load-sa" /opt/homebrew/bin/yabai -m config mouse_follows_focus on /opt/homebrew/bin/yabai -m config focus_follows_mouse autoraise /opt/homebrew/bin/yabai -m config layout bsp /opt/homebrew/bin/yabai -m config top_padding 60 /opt/homebrew/bin/yabai -m config bottom_padding 60 /opt/homebrew/bin/yabai -m config left_padding 60 /opt/homebrew/bin/yabai -m config right_padding 60 /opt/homebrew/bin/yabai -m config window_gap 20 /opt/homebrew/bin/yabai -m config mouse_modifier fn /opt/homebrew/bin/yabai -m config mouse_action1 move /opt/homebrew/bin/yabai -m config mouse_action2 resize /opt/homebrew/bin/yabai -m config window_shadow float /opt/homebrew/bin/yabai -m config window_opacity on /opt/homebrew/bin/yabai -m config active_window_opacity 1.0 /opt/homebrew/bin/yabai -m config auto_balance on /opt/homebrew/bin/yabai -m config window_shadow float

/opt/homebrew/bin/yabai -m config mouse_follows_focus on /opt/homebrew/bin/yabai -m config focus_follows_mouse autoraise /opt/homebrew/bin/yabai -m config window_placement second_child

/opt/homebrew/bin/yabai -m rule --add app=".*" sub-layer=normal

I update yabai with brew head every now and again, I don't know which version I was previously on but /opt/homebrew/bin/yabai -m config focus_follows_mouse autoraise was working consistently

Now it only works for a short period of time (unsure how long) then stops working until I restart yabai again

Is there a way I can debug this issue?

DrBushyTop commented 1 month ago

Having the same issue. Running the yabai -m config focus_follows_mouse autoraise command again enables the feature. I can reliably get it disabled by for example left clicking any of the page links on the yabai wiki that navigate to a separate page load. However, clearly not all left click events disable it. Happens on both Chrome and Arc.

The issue is also present for the autofocus setting. My last version was v6.0.1, where this worked as expected.

slifin commented 1 month ago

I have downgraded - we'll see how we go :-)

ognistik commented 1 month ago

Same issue here. Having to restart Yabai service each time is the only thing I've done to restore autoraise behavior. And like someone else commented, it happens in Arc when navigating to a different site. Also happens with autofocus.

slifin commented 4 days ago

Pinning to version 6.0.1 works