Open NicholasFields opened 2 weeks ago
also running into this! loving aerospace, btw
Having the same issue! I'm running the same version as the OP.
The issue sounds suspicious. I couldn't reproduce it
workspace-back-and-forth
command to switch between workspaces, right?I even tried this script to emulate quick initial workspace switches:
aerospace focus --window-id 13305 # chrome window 1
aerospace focus --window-id 16745 # chrome window 2
for i in $(seq 1 50); do
sleep 0.01
aerospace workspace-back-and-forth
done
definitely sus -- as the kids say.
Is it reproducible only with Chrome windows?
Do workspaces A and B must be on different monitors?
You use workspace-back-and-forth command to switch between workspaces, right?
workspace
commands, e.g., I press alt-u
to trigger the workspace u
command stored in my config as alt-u = 'workspace U'
I even tried this script to emulate quick initial workspace switches:
A bit more context from re-inducing the problem just now:
I'm using JankyBorders
.
workspace u
. workspace t
.workspace u
to workspace t
by pushing alt-u
, the Chrome window on workspace u
is shown. However, it lacks the blue (active window) padding from JankyBorders
.In other words, on the-very-first-switch to a chrome window, it is (perhaps) never fully focus'd.
Then:
on the switch to the other chrome window via alt-t
,
the flickering ensues.
May require a full 3 monitors (@adamdottv, @LeandroLovisolo -- please report your # of monitors // if you can repro on only 2)
I'm on a Macbook Pro with only one external display, so 2 displays total.
Thanks @LeandroLovisolo - I was also able to rerpo on just 2 monitors.
Also, here's a vid repro. Note that I don't use the mouse at all during the vid. Only the keys shown by KeyCastr
.
https://github.com/nikitabobko/AeroSpace/assets/68744844/89cff7fc-c4db-4735-bda0-fec3d01b7899
Also, here's a vid repro.
Yep, that's exactly what I see!
Also, here's a vid repro.
Yep, that's exactly what I see!
Same! I'm using a Mac Studio with two monitors.
I'm experiencing the same / similar looping problem. It seems what happens to me is that
⌘-Tab
or Mission Control),
More notes:
A strange Chrome window (re-)focus behavior that might be relevant: If there is a Chrome window in a third workspace (C), and the workspace configuration is
Now if I
Workspace B is successfully put to the external display, but all of its windows are not active (control buttons grayed out). The active window, surprisingly, becomes the window γ, and not the Finder window.
Context:
❯ aerospace -v
aerospace CLI client version: 0.12.0-Beta 9cf82feb0c85bea77fedcdc6b8cdba75b5bbf1f8 AeroSpace.app server version: 0.12.0-Beta 9cf82feb0c85bea77fedcdc6b8cdba75b5bbf1f8
[issue was present in earlier versions, I believe]
Repro:
Number of monitors must be > 1
Open 2 instances of Chrome. To ensure it wasn't some chrome config, I used two incognito windows this AM.
Place Chrome instance # 1 on workspace A
Place Chrome instance # 2 on workspace B
Switch back and forth between the workspaces
For me, within a few switches, a "workspace switching loop" will initiate. By this, I mean:
Aerospace will automatically switch from workspace A => workspace B => workspace A => workspace B and so on. In a rapid, flicker pattern.
Other notes:
To end the behavior, I usually just send command for the target workspace repetitively. This tends to break the loop.
Let me know if you need anything else -- Thanks for AeroSpace!