-
-
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
[Support request]: Yabai not tiling windows properly after update to ver 3 #524
Comments
I had to change the certificate for the 3.x.x release so you probably got hit by some accessibility nonsense. Try to first stop the yabai service, uninstall, then remove the yabai entry from the accessibility list. Do a system reboot, install yabai, and accept the accessibility permission followed by an application restart. |
I got prompted by accessibility when I updated, and gave it permission again. And occasionally yabai does work as intended, for one window. Yabai definitely can move windows around. And I get the notification that the scripting addon loads properly. Given that, do you still think it would help? |
Yes, it should still help. The issues you describe sound very much like an inconsistency with the accessibility permission where the system sometimes think you have access, and sometimes it thinks you don't. I don't exactly know the details of why it happens, but I did experience these symptoms a long time ago when I first started doing these things. |
Closing this. My previous comment should resolve the issue for you. |
I hadn't gotten around to restarting, but I just went through the steps you gave. Still happening, but I noticed the scripting addon gave a warning about an out-of-date payload. Small and easy thing to miss, might be worth making more obvious/documenting somewhere, or even prompting to auto-reinstall. I'm going to reinstall the scripting addon now and see if it fixes it |
Nope, didn't work, even after multiple restarts and no yabairc. Is there anything else I can clear? |
Spamming |
I have no clue. There has not been any changes related to how tiling is performed in a long time.
… On 24 May 2020, at 01:41, BlueDrink9 ***@***.***> wrote:
Spamming balance eventually gets the spacing right, btw, but almost always takes more than one balance (if that helps you identify possible causes)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#524 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPDZVY3XEFGVYQ2VFYTM2DRTBNMFANCNFSM4NCUARMQ>.
|
I'm not suggesting it's a bug, but does Yabai store any other settings/data that I could remove? |
There shouldn’t be, no. Accessibility access and the config file is pretty much everything. There are lock files and socket files in /tmp/yabai_<USER>.socket/lock, but that does not seem relevant to your issue.
… On 24 May 2020, at 02:31, BlueDrink9 ***@***.***> wrote:
I'm not suggesting it's a bug, but does Yabai store any other settings/data that I could remove?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#524 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPDZV4J5YZOFPKRHAOJRBTRTBTHTANCNFSM4NCUARMQ>.
|
Bother. Maybe I'll try on a different user and see if it's a software conflict. I'm on Mojave atm. Edit: Updated to Catalina in the hopes of fixing this. It didn't |
On a new user with no rc, kitty seemed to tile fine, but finder, chrome don't tile well at all. |
Seems to be working fine again after uninstalling and re-installing the scripting addition, updating catalina, zapping the PRAM, and running manually instead of as a brew service. No idea which part fixed it. |
Although now windows are tiling veery slowly (iterating size and position about once every 0.5 seconds). Any thoughts on what might be causing that? |
Is this on v3.1.1 or the master branch? If so, likely fixes to #16 … god damnit
… On 9 Jun 2020, at 00:34, BlueDrink9 ***@***.***> wrote:
Although now windows are tiling veery slowly (iterating size and position about once every 0.5 seconds). Any thoughts on what might be causing that?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#524 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPDZVZDT6YWMQLSHSQZT6LRVVRQ5ANCNFSM4NCUARMQ>.
|
3.1.1 |
Try the latest version please. I undid the changes to #16. Hoping that was the issue, otherwise I am running empty on ideas.
… On 9 Jun 2020, at 01:02, BlueDrink9 ***@***.***> wrote:
3.1.1
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#524 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPDZV2HQ4W3MUWAE3WJZK3RVVUZ5ANCNFSM4NCUARMQ>.
|
Yup, back to normal speed. Thank you for your help and work! All of this stopping and restarting yabai has narrowed it down as a factor in a more serious issue I have been having (since version 3.10). Switching to new windows sometimes crashes windowserver (manifesting as a black screen, then the login screen shows). Focussing the system preferences window for the first time as it opens seems to be a factor, but if it is opened without yabai running then switched to once yabai has started, it seems to be fine. I'll test with a minimal rc and see if it keeps happening. |
Update: 3.1.12 seems to have reverted my issue with windows not tiling properly. |
The crash is likely #277
You need to set window_opacity_duration to 0 (macOS Catalina bug, nothing I can do to fix it).
I find it weird that going from 3.1.1 to 3.1.2 make things not tile properly. All I changed was remove a potential bug that could result in looped movement/resize.
Do you have this issue for specific applications or all of them? What about Terminal.app or Safari? (both of these work perfectly for me).
…Sent from my iPhone
On 9 Jun 2020, at 01:35, BlueDrink9 <[email protected]> wrote:
Update: 3.1.12 seems to have reverted my issue with windows not tiling properly.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub<#524 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABPDZVZNGEC3IEJ64KM6SELRVVYTJANCNFSM4NCUARMQ>.
|
Maybe 3.1.1 didn't fix the bug, but it seemed to for the brief period of time I used it. Thanks for pointing out 277. For some reason googling "yabai" + "crash" or "black screen" or "windowserver crash" didn't bring it up. I've been testing with finder, chrome and kitty. I'll test with terminal and safari. |
Safari and terminal were both fine. I wonder if it has to do with finder, chrome and kitty all being started by skhd (which in turn was started by yabai) |
It does seem to be something with your setup then, but I don't actually know how to pinpoint what exactly. I tried to run skhd from my .yabairc and then have it launch kitty, and everything worked just fine. Then again, I ran yabai from a terminal session and not through brew services; no idea if that even matters. What if you quit kitty completely and start it by just double-clicking the icon in /Applications. |
Recently started using |
I got fed up with this again so went on a deep dive fixing things. New user with most things copied = worked. My user with I think now it is finally fixed, thanks to deleting a bunch of folders in
|
Happened again after a recent restart. Just removing |
I have identified the cause of this as a clash with a Hammerspoon script. Running with just hammerspoon was fine, but when loading dbalatero/VimMode.spoon and reloading the config, this issue occurs again. |
Yabai is making single windows take up the full screen fine, but opening new windows via skhd seems to have broken some time after updating to version 3. The second windows are opening either in the top quarter (with blank space below), or bottom quarter (blank above), or sometimes in the middle of the screen. Openign a 3rd window puts it in the blank quarter, but off-center. Running
yabai -m space --balance
with 2 windows will sometimes mode the quartered window to the center the first time, then to full half-screen the second time.Sometimes the second window opens fine, but when I open a 3rd, the second window moves to quarter correctly, but the 3rd window opens in the same quarter, again misaligned.
This even happens if I restart with no
yabairc
. Persisting across restarts.Downgrading back to 2.4.3 also hasn't helped.
Are there some caches I could look at clearing to help reinstall?
The text was updated successfully, but these errors were encountered: