-
-
Notifications
You must be signed in to change notification settings - Fork 648
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
Blank space appears when restoring minimised window #70
Comments
Can you run |
I'll try that, in the mean-time I noticed I can repro consistenyl by opening a new Finder tab
|
See #68 for the tabs issue. This has a long history. |
Hum, I don't remember chunkwm having the same issue, but maybe it's because I wasn't using tabs as much. I just thought it'd be somewhat related to the issue I mentioned at first. I'll run yabai with verbose mode for the rest of the day to see if I can catch anything. |
Ok it just happened, here are the logs:
query before I relaunched yabai to fix the issue
query after relaunching yabai
|
Fixed on master. When a window is deminimized, macOS will automtically give focus to the space that window belongs to. In a multi-display setup, this would trigger a display changed event, and a window deminimized event for that window. The window would be added twice to the window-tree, once because we detect unmanaged windows upon space activation, and a second time because of the deminimized event. |
I can't exactly pinpoint (yet) a specific pattern but I've seen that happen quite a few times on my work machine, I would restore a window that was minimized and then there would be a blank space in the tiling, as if there was a "ghost" window there 😕
I'll try to gather some logs around the time when it happens to see if there's any errors popping up.
FWIW I'm on a dual monitor setup (built-in display + 4K monitor) on a 2015 MBP and it happened ~5times yesterday but I have never seen that on my desktop computer with a similar monitor setup so i don't know if it's a performance issue?
EDIT:
Okay here are some query results on a space where that happened. I'm remembering that my secondary display is on the left of the main one, making it having a negative
x
value, maybe that's relevant for the issue? (My desktop computer has its secondary display on the right so thex
is probably positive)The text was updated successfully, but these errors were encountered: