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

stack "flickers" after a new window is added to the stack and focus is moved back and forth #791

Closed
grozan opened this issue Jan 11, 2021 · 3 comments

Comments

@grozan
Copy link

grozan commented Jan 11, 2021

Hi,

I have a little problem with stacks, which I hope can be solved because it's quite annoying
Let me try to describe how to reproduce it.

Let's suppose a space, with only 3 terminal windows, side by side.
Let's call them w1, w2 and w3

  1. go into w1, and stack it on top of w2, with (supposing 39410 is the id of w2)
yabai -m window 39410 --stack `yabai -m query --windows --window | jq '.id'`

The 2 windows are "merged", and the focus is in the new stack
So now we have one stack with w1 (visible) and w2 ("behind"), and a single w3 window next to it

  1. from the same w1 window (now in the stack), move the focus to the other window left (w3)
yabai -m window --focus east

The focus moves and you're now in w3. You see w1 (unfocused) and w3 on the screen

  1. finally, move the focus back to the stack
yabai -m window --focus west

Here the problem happens. When the focus changes, back to the stack, w1 disappears and w2 is shown instead.
w2 became the "front window of the stack", all by itself.
This is the 'flicker' effect I'm trying to describe here

Note that this does NOT happen if the focus is moved back and forth using the mouse
It happens only when the focus is moved using command-line calls (or keyboards bindings for the same commands in skhd)

is it only me, or can others reproduce it too?
Thanks!

@tshu-w
Copy link

tshu-w commented Feb 13, 2021

same issues here.

@mikalcallahan
Copy link

mikalcallahan commented Feb 17, 2021

I run into the same issue, but it seems to happen only with iTerm and Kitty for me.

@koekeishiya
Copy link
Owner

Duplicate of #1311 and fixed on master.

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

4 participants