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

Unable to switch spaces on Big Sur 11.1 Beta #730

Closed
lbibass opened this issue Nov 20, 2020 · 14 comments
Closed

Unable to switch spaces on Big Sur 11.1 Beta #730

lbibass opened this issue Nov 20, 2020 · 14 comments

Comments

@lbibass
Copy link

lbibass commented Nov 20, 2020

Hi, I appear to be unable to change or edit spaces on the Big Sur 11.1 beta.

I am unsure why this is. Any ideas? Could the scripting addition be incompatible with this version of MacOS?

@BleedingDev
Copy link

I have exactly same problem. Everything else works (switching displays, moving windows, switching windows position etc.) but only this thing is broken. I am not able to change spaces. It changes displays for me. :)

I have Mac OS X 11.1 Beta and Yabai -v3.3.4.

@lbibass
Copy link
Author

lbibass commented Nov 20, 2020

@koekeishiya
Copy link
Owner

First of all, why are you still running the Beta version?

Verify that the scripting-addition installed correctly; this path should exist: /Library/ScriptingAdditions/yabai.osax
What is the output of running: sudo yabai --load-sa

I upgraded from the release candidate to the official release and everything works fine.

@rockyzhang24
Copy link

Oops, I just notice what you are saying is version 11.1. Probably yabai has not been adapted to 11.1 yet.

@koekeishiya
Copy link
Owner

koekeishiya commented Nov 20, 2020

Right.. I read 11.0.1 as well. Features that require the scripting-addition are heavily version-specific and I do not run Beta versions of macOS on my mac. If you want to use these features you either need to patch it yourself or refrain from updating until the public release.

@lbibass
Copy link
Author

lbibass commented Nov 20, 2020

Right.. I read 11.0.1 as well. Features that require the scripting-addition are heavily version-specific and I do not run Beta versions of macOS on my mac. If you want to use these features you either need to patch it yourself or refrain from updating until the public release.

patching it requires changing the version check, correct? Do you mind explaining what/where I need to change?

@koekeishiya
Copy link
Owner

Well, not exactly just a version check..

The byte patterns (and sometimes also offsets) here need to be changed to support 11.1:

https://github.com/koekeishiya/yabai/blob/master/src/osax/x86_64/payload.m

@lbibass
Copy link
Author

lbibass commented Nov 20, 2020

Well, not exactly just a version check..

The byte patterns (and sometimes also offsets) here need to be changed to support 11.1:

https://github.com/koekeishiya/yabai/blob/master/src/osax/x86_64/payload.m

Oh wow, I had no idea it was that complex! Thankfully, my workflow doesn't require me to have the scripting addition. I'll unenroll from the beta and wait for the actual release.

@BleedingDev
Copy link

Thank you very much, I also didn't know about this complexity. :) Gonna wait for 11.1 as already updated.

@avindra
Copy link

avindra commented Dec 2, 2020

For anyone else on 11.1beta, you can define shortcuts for switching spaces in the native MacOS settings. I would recommend 1️⃣ and 2️⃣

1️⃣ Under System Preferences > Keyboard > Shortcuts, you can check the boxes to enable the hotkeys.

By default it's CTRL+1 -> CTRL+10.

2️⃣ Check the "Reduce motion" box in the Display section of Accessibility. So there isn't jitter when switching workspaces like how yabai does it when its working.


EDIT: Note this won't work for yabai -m space --focus recent

avindra added a commit to avindra/dotfiles that referenced this issue Dec 2, 2020
@rockyzhang24
Copy link

macOS 11.1 is officially released. Does anyone check whether yabai work well on it? Thanks.

@avindra
Copy link

avindra commented Dec 14, 2020

Using 11.1, still unable to switch spaces. My guess is offsets probably need updating.

@rockyzhang24
Copy link

Okay, thank you. Let's stay tune. ❤️

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

5 participants