-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
move window to different space starts to behvae wierd after installing scripting additions #2298
Comments
I'm experiencing the same issue but I never enabled SIP in the first place. The only thing that changed is my Macbook is now in clam shell mode and I updated to the latest version of macOS. |
I experenced something similar where unmanaged windows (I use a shortcut to make them unmanaged and bigger) wouldn't move to the other display as well. Steps to reproduce:
Expected:
Actual:
Exhibit 1: Shortcuts for # .skhdrc
# float / unfloat window and center
# use different settings for < 16:9 and > 16:9
alt - t : screen_width=$(yabai -m query --displays | jq "map(select(.index == $(yabai -m query --windows | jq 'map(select(."has-focus" == true))[0].display')))[0].frame.w"); \
screen_height=$(yabai -m query --displays | jq "map(select(.index == $(yabai -m query --windows | jq 'map(select(."has-focus" == true))[0].display')))[0].frame.h"); \
screen_ratio=$(echo "scale=2; $screen_width / $screen_height" | bc); \
yabai -m window --toggle float --sub-layer below; \
echo "$screen_ratio"; \
if [[ $(echo "$screen_ratio > 1.78" | bc) -eq 1 ]] ; then \
echo '> 16:9';\
yabai -m window --grid 12:12:3:2:6:10; \
else \
echo '< 16:9';\
yabai -m window --grid 12:10:2:2:6:8; \
fi
# send window to monitor and follow focus
ctrl + shift - up : yabai -m window --display next; yabai -m display --focus next
ctrl + shift - down : yabai -m window --display prev; yabai -m display --focus prev |
This can be the case. Actually I updated my mac-os before disabling SIP. |
I am facing the same issue since the last update with both managed and unmanaged windows I have SIP disabled |
Same issue using the last update to Sonoma 14.5 |
I have the same issue since updating, although I never touched SID so it should be enabled. Is there any other way to move the windows to another space? Because as of now yabai is unusable on 14.5 (at least for me) :( |
Update yabai to 7.1.1 which fixes this issue |
@saucoide Thank you that solved it. |
After installing scripting additions, the
yabai -m window --space <SPACE_idx>
stop to work properly.More concretely, the window properly moves to the scpecified space only when the target space_id is at the different display.
![Screenshot 0006-05-27 at 17 11 38](https://private-user-images.githubusercontent.com/57752203/334020164-03418686-d589-422d-bb15-f9ee3327f3cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjAwNzEsIm5iZiI6MTczOTgxOTc3MSwicGF0aCI6Ii81Nzc1MjIwMy8zMzQwMjAxNjQtMDM0MTg2ODYtZDU4OS00MjJkLWJiMTUtZjllZTMzMjdmM2NkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE5MTYxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyMTkzZTQ1ZTVhNjc4MDE1ZTk1NDk4Y2FmYjMwNjRmN2M4NmUwNjExMWQzYTcyNTc2MzVlZGExYjg2YTU2OWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xPeX3n6SJwEkPSxVJ1YrFqwr13fbb87ZwYXPeL3M7Gs)
![Screenshot 0006-05-27 at 17 11 05](https://private-user-images.githubusercontent.com/57752203/334020184-6a5b524e-4936-444b-9ff2-4d85467a8f98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MjAwNzEsIm5iZiI6MTczOTgxOTc3MSwicGF0aCI6Ii81Nzc1MjIwMy8zMzQwMjAxODQtNmE1YjUyNGUtNDkzNi00NDRiLTlmZjItNGQ4NTQ2N2E4Zjk4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE5MTYxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkYWQ2NTJkNDhmZGQ4MDcyNWJjY2M5YTZkNTMyYTNkYzYzZGU5ZTNlMDEyNWMzZmMxZTM1MzMyNWExNTJhOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.o-lHqA3Q04VOp1I9oSeVq2UE-XhtzZYNify0UMsbBNc)
e.g. when the space arranges is like below and try to move a window in space 1 to space 3. ( cannot from space 1 to space 2)
What I did before experiencing the bug
csrutil disable
sudo nvram boot-args=-arm64e_preview_abi
, and restartI'm using m3 apple silicon.
The text was updated successfully, but these errors were encountered: