koekeishiya / yabai

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

[Bug] Move window to a space in another display doesn't work the latest release #2314

Open bethandtownes opened 5 months ago

bethandtownes commented 5 months ago

When I tried to move window between difference spaces in the same display, things works well. However, when I tried to move window from a space in display 1 to a space in display 2, the window disappears on both spaces. When run the query after the move, the information correctly says the window is on the new space in the other display however i cannot find the window in the other space, "Show All Windows" doesn't bring in up either.

I didn't disable SIP.

keithlee5 commented 5 months ago

I had the same issue and fixed it by updating my yabai version. when I ran:

yabai -m window --space 3

The window disappears, but it did not reappear in space 3 - version yabai-v7.1.0, mac Sonoma 14.5.

This was fixed for me when I updated my yabai version by running brew upgrade and restarted - make sure your yabai version is at least yabai-v7.1.1.

bethandtownes commented 5 months ago

my yabai version is 7.1.1 Screenshot 2024-06-04 at 9 03 30 PM

torgeir commented 5 months ago

Upgrading to yabai-v7.1.1 works for me too.

AhogeK commented 5 months ago

The same issue only occurs when the window is in a floating state, and the version is also 7.1.1.

Fisher-Wang commented 5 months ago

I have the same issue and the yabai version is also 7.1.1

bethandtownes commented 5 months ago

The same issue only occurs when the window is in a floating state, and the version is also 7.1.1.

Yeah, I can confirm that the window I am trying to move is also in floating state as well.

cristianoliveira commented 5 months ago

Confirming the issue with the latest version of macOs:

ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79

Upgrading to 7.1.1 fixed the problem. For those using nix and nix-darwin upgrade the nixpackages, upgrade to the latest version of them

nix-channel --update darwin
darwin-rebuild changelog
Fisher-Wang commented 5 months ago

I find a workaround, by using the author's skhd config:

# float / unfloat window and restore position
alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2

when you move a window to a new space and it doesn't appear, simply press opt - t twice and everything works well

nicolaric-akenza commented 1 week ago

i have the same issue (on 7.1.5). did someone find a workaround?

Fisher-Wang commented 1 week ago

i have the same issue (on 7.1.5). did someone find a workaround?

Try this

I find a workaround, by using the author's skhd config:

# float / unfloat window and restore position
alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2

when you move a window to a new space and it doesn't appear, simply press opt - t twice and everything works well