Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bethandtownes opened this issue Jun 4, 2024 · 8 comments

Comments

@bethandtownes
Copy link

bethandtownes commented Jun 4, 2024

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
Copy link

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
Copy link
Author

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

@torgeir
Copy link

torgeir commented Jun 5, 2024

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

@AhogeK
Copy link

AhogeK commented Jun 6, 2024

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

@Fisher-Wang
Copy link

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

@bethandtownes
Copy link
Author

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
Copy link

cristianoliveira commented Jun 9, 2024

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
Copy link

Fisher-Wang commented Jun 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants