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

Sequoia 15.0.1 desktop switching fails #2455

Closed
chris-sanders opened this issue Oct 15, 2024 · 11 comments
Closed

Sequoia 15.0.1 desktop switching fails #2455

chris-sanders opened this issue Oct 15, 2024 · 11 comments

Comments

@chris-sanders
Copy link

I'm aware 15.0 is what's listed as supported, I let an auto-upgrade go through with 15.0.1 recently and yabai has started to fail in two specific ways.

  1. I can no longer switch desktops. Via hotkeys
  2. I can not move windows to other desktops. Instead of moving to another desktop the window gets pushed to the background on the same desktop.

Is there any information from a debugging perspective I could provide that would help identify what changed in 15.0.1? Or do I just need to wait for the project to address changes in the new update?

@matth3w-lau
Copy link

me2, I am experiencing an issue with your issue 2: yabai -m window --space 1; I think this issue emerge after I updated my macbook to 15.0/15.0.1

@Bug-president
Copy link

Thirded. Key commands are recorded and cursor follows the selected desktop, but desktop fails to switch. Started happening on switch to 15.0.1.

@alexandrelarouche
Copy link

alexandrelarouche commented Oct 23, 2024

Folks on the skhd repo talked about similar issues: koekeishiya/skhd#371

However, I doubt the observed behavior is linked to the change introduced by Sequoia 15.0.1, since even when respecting the new requirements for shortcuts, yabai does not successfully move windows (e.g. cmd + shift + [1,2,3,...]).

@shabarin
Copy link

I can confirm this as well:

I can not move windows to other desktops. Instead of moving to another desktop the window gets pushed to the background on the same desktop.

with the one exception: I actually can move window to a new space but only if that is another active space on a different display.

@chris-sanders
Copy link
Author

Actually you're right, same results here I hadn't tried using a different monitor.

@martin-tomes
Copy link

As a workaround you can just run the skhd as a background process:

skhd &

to make it permanent (or till fixed) you can crate a login shell script with the command above to run skhd after login

@chris-sanders
Copy link
Author

@martin-tomes can you clarify what you mean this doesn't help for me.

I've:

  • disabled and uninstalled the skhd service
  • ran skhd & to run it as a background process

While this asked me to approve my terminal, it didn't fix anything for me.

  • I can move a window between monintors
  • I can not move a window to a desktop that is not in focus
  • I can not change the focused desktop

Are you saying you can move a window to an unfocused desktop and you can change the focus to a new desktop?

@blancpain
Copy link

blancpain commented Nov 1, 2024

Running macOS 15.1 and yabai 7.1.4 and had the same problem - none of the commands associated with moving windows around worked after the OS upgrade.

Following the instructions on partially disabling SIP fixed the issue for me. However, I feel somewhat uneasy about disabling SIP—are there plans to enable moving windows without having to disable SIP?

@koekeishiya
Copy link
Owner

Fixed in v7.1.5.

No, you need SIP disabled and scripting addition installed to move windows from Sequoia, because Apple added restrictions to their (private) API.

@chris-sanders
Copy link
Author

Great thanks I've got it working again!
For anyone going through this process as well, don't forget if you followed the directions in the wiki you've put a sha256 on your visudo for running yabai --load-sa I had to update that which looked like the scripting addon not being installed, but it was really just failing to get started.

@fabiohj7
Copy link

fabiohj7 commented Nov 5, 2024

Running:

  • Yabai: v7.1.5.
  • skhd: v0.3.9.
  • MacOS Sequoia 15.1 | M1

I configured the scripting addition and disabled SIP but my shortcut keep putting my window to the background.

Is there a way that you could better explain the solution to this problem?

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

9 participants