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

Create/Focus Space doesn't work (no error, no effect) #2151

Closed
imatw4r opened this issue Mar 9, 2024 · 4 comments
Closed

Create/Focus Space doesn't work (no error, no effect) #2151

imatw4r opened this issue Mar 9, 2024 · 4 comments

Comments

@imatw4r
Copy link

imatw4r commented Mar 9, 2024

@edit:
Fixed as of 10-03-2024 by installing from HEAD with commit f16eba3

brew uninstall yabai
brew install koekeishiya/formulae/yabai --HEAD # install from master
sudo yabai --uninstall-sa
sudo yabai --load-sa
yabai --start-service

Hey, I have a problem with yabai -m space --create. The command does execute with no errors, however no space is created. I've read the instructions on how to create a space, I went through multiple Github issues related to spaces:

Someone had pointed out in one of the issue that he had similar problem when using yabai with only one (builtin) display.
I went through uninstalling/installing scripting additions multiple times, but nothing works. Does anyone else has the same problem? I don't experience any other issue as of now (after installing yabai from HEAD), but only that one, which is critical to me.

CSR protection is disabled:
image

MacOS Version: Sonoma 14.4

On screenshot below you can see I am executing the command multiple times on the right window, and then querying for spaces, but only one is created.
image

@imatw4r imatw4r changed the title Create Space doesn't work Create Space doesn't work (no error, no effect) Mar 9, 2024
@imatw4r
Copy link
Author

imatw4r commented Mar 9, 2024

Update:
I went and created multiple desktops manually by pressing CTRL + ARROW_UP and "+" button to the right.
image

Now I can see them as spaces, running yabai -m query --spaces:
image

However running yabai -m space --focues <id> bears no effect also:
image

Moving windows between displays/spaces using: yabai -m window --space 3 works just fine, but yabai -m space --focus 3 bears no effect.

@imatw4r imatw4r changed the title Create Space doesn't work (no error, no effect) Create/Focus Space doesn't work (no error, no effect) Mar 9, 2024
@epiliper
Copy link

epiliper commented Mar 9, 2024

I have this same problem, also after installing from HEAD!

  • scripting addon configured
  • SIP is enabled
  • skhd running

@cockytrumpet
Copy link

It now works after updating from HEAD and running:

sudo yabai --uninstall-sa
sudo yabai --load-sa
pkill -x Dock

@imatw4r
Copy link
Author

imatw4r commented Mar 10, 2024

Fixed now - details in @cockytrumpet solution 🖖 🚀

@imatw4r imatw4r closed this as completed Mar 10, 2024
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

3 participants