-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Yabai space focus from different display moved to the wrong space #1053
Comments
I too can reproduce the bug. What I can do to "force" going to the wanted space is to focus twice at it |
I think it has something to do with the previously focused window on that particular display, for example, if I do not have any window focused on my display 2, then I can switch the spaces correctly. I am not good in C, but will try diving into the code and see if I can find the problem 😂. |
I have this issue as well. When you want to go to a space in another display that is not focused it seems that yabai performs the action but then switches back to the previous space in the switched display. PS. thanks a lot for the Monterrey fix! |
I have this issue as well and it is super annoying as I switch between displays all the time and it just feels very buggy and immature. Has this issue always been around or is it a MacOS 12/Apple Sillicon issue? |
I think this might be MacOS 12 related, this wasn't an issue before for me. |
I also have this issue since macOS 12. |
Has anyone found a smart fix for this? It doesn't happen if you switch to the display first. |
I made it like this:
Script contents:
Works for me. |
Not just focus, moving window command also suffers ( |
True, it does the same for me |
Same for me. MacOS 12
…On Wed, Jan 19, 2022, 17:30 Daniel Mathiot ***@***.***> wrote:
True, it does the same for me
—
Reply to this email directly, view it on GitHub
<#1053 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJIOJVKTVCRHI7PKPB5BTW3UW3RKBANCNFSM5ILH7UOQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
I didn't seem to have this problem, only the space focus but got it working for now doing something similar to how @hb0nes did it, by first focusing on the display if the space I am switching to is a different display. |
Could you share your solution, please? 🙏 |
Is actually the same as this #1053 (comment) Add a script file and change the binding to run the script. |
No need to run the script. Make sure you have jq installed
|
This is on the latest master with the scripting-addition working on Monterey 12.1:
The function that appears to have changed behaviour between macOS Big Sur and Monterey is: I can also reproduce the issue mentioned in the OP. |
Both issues should now be resolved on the latest master. Closing this because Monterey issues are head-only. |
Thank you so much! Work like a charm now. |
Do you have a good method for upgrading to latest master, or did you just
compile manually and replace the binary?
…On Sat, Jan 22, 2022, 12:15 MarcusZ ***@***.***> wrote:
Both issues should now be resolved on the latest master. Closing this
because Monterey issues are head-only.
Thank you so much! Work like a charm now.
—
Reply to this email directly, view it on GitHub
<#1053 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJIOJVLXNC4DFBBW4OKXUALUXKGWHANCNFSM5ILH7UOQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
For me, I install yabai head through brew. There is a wiki about it. |
Just came here while googling the problem. After I switched the screen I often got kicked back directly to the original with the annoying osx animation. The issue still persisted using master. The source of the problem was in my skhd config:
The Changing it to
and it works fine. As replacement of the Just sharing for the case someone else still has the problem after installing master. Thanks for this great tool. |
@glingener You could automate your previous keybinding behaviour by using a signal:
By default macOS will focus the window that previously had focus on the given space, which is why yabai by default does not override that behaviour. |
My bad, fixed again on master. |
This was really buggy and apparently this was already working by default, see koekeishiya/yabai#1053.
First of all, thank you so much for the yabai-v4.0.0 release, things are working as before now on a Mac Intel running Monterey 12.0.1, the only issue I am seeing is the space focus between a multiple displays setup.
The problem
2021-11-19_12-33-56.mp4
The text was updated successfully, but these errors were encountered: