Comments (15)
definitely sus -- as the kids say.
Is it reproducible only with Chrome windows?
- Yes, as far as I am aware. I've been wondering if Chrome has some "hold on to focus" effect?
Do workspaces A and B must be on different monitors?
- Nope. I must have > 1 monitor. But workspaces A and B themelves can be on the same monitor - or on two distinct monitors.
You use workspace-back-and-forth command to switch between workspaces, right?
- I'm using simple
workspace
commands, e.g., I pressalt-u
to trigger theworkspace u
command stored in my config asalt-u = 'workspace U'
I even tried this script to emulate quick initial workspace switches:
- Speed of switching doesn't seem to be causal.
A bit more context from re-inducing the problem just now:
I'm using JankyBorders
.
- May require a full 3 monitors (@adamdottv, @LeandroLovisolo -- please report your # of monitors // if you can repro on only 2)
- I have one Chrome window on
workspace u
. - Second Chrome on
workspace t
. - The very-first-time I navigate from
workspace u
toworkspace t
by pushingalt-u
, the Chrome window onworkspace u
is shown. However, it lacks the blue (active window) padding fromJankyBorders
.
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.
from aerospace.
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
.
aerospace-chrome-flicker.mp4
from aerospace.
Also, here's a vid repro.
Yep, that's exactly what I see!
Same! I'm using a Mac Studio with two monitors.
from aerospace.
Weird... I can replicate this but only with Chrome and with at least one external monitor (on a MBP).
Tried a bunch of other apps - Safari, Firefox, Zed, Sublime, VSCode, Arc... they all work as expected.
Is there an easy way to downgrade to 0.11.2 and test?
from aerospace.
also running into this! loving aerospace, btw
from aerospace.
Having the same issue! I'm running the same version as the OP.
from aerospace.
The issue sounds suspicious. I couldn't reproduce it
- 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?
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
from aerospace.
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.
from aerospace.
Also, here's a vid repro.
Yep, that's exactly what I see!
from aerospace.
I'm experiencing the same / similar looping problem. It seems what happens to me is that
- One workspace (A) containing one or more Chrome windows is on my (one and only) external display, visible, but none of the windows is active (i.e. their window control buttons are all gray; this seems to be necessary)
- Another workspace (B) on the same external display is hidden, i.e. all of its windows are stashed at the corner of the main display.
- Under certain condition that I haven't completely figured out, when switching to workspace B (either via Aerospace hotkey, or activating one of its Chrome windows with
⌘-Tab
or Mission Control),- The focus first goes to a Chrome window in B (i.e. it becomes an active window, with colored window control buttons), and all windows in B are moved to the external display, in the mean time all windows in A are moved to the corner of the main display
- Right after that, mysteriously, a window in A gets activated (its window control buttons get colored), and workspace A is also activated and moved back to the external display, and B again stashed to the corner of the main display. I'm guessing that the weird re-focus to a window in A is due to Chrome. Now workspace A takes the external display.
- Instantly, a window in B gets (mysteriously) activated, and brings B to the external display and puts A windows away
- The back-and-forth switch loop keeps on
More notes:
-
The loop is not always self-sustainable, in rare cases, things stabilize after several flickers
-
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
- A: assigned to external display; all windows are not active, but visible on the external display
- B: assigned to external display; all windows are not active, and are on the corner of the main display
- C: assigned to main display; a Chrome window is active, let's call it window γ
Now if I
- First switch to some other non-Chrome window (say a Finder window) in C
- Then activate to workspace B
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.
from aerospace.
I got the same I thing
from aerospace.
Surprised to see 9 votes on the issue. Apparently, something major got broken, but I still can't reproduce the problem.
People started coming only after 0.12.0-Beta. Is the problem reproducible in 0.11.2-Beta?
By looking at changelog between 0.11.2-Beta and 0.12.0-Beta v0.11.2-Beta...v0.12.0-Beta the only suspicious commit that could cause the problem is 588f697
I'd appreciate if somebody who has this problem could try to revert the commit and build from sources to see if it helps. Or otherwise try to bisect the problem between 0.11.2-Beta and 0.12.0-Beta. I assume that it's a 0.12.0 regression, so we need to confirm that first
from aerospace.
@tuzemec Download .zip
from GH releases page and install it manually. You don't even need to install it, you can just run .app
directly from unpacked zip
from aerospace.
For me 0.11.2-beta works fine, without this bouncing between the workspaces.
There's some very rare cases when it doesn't switches to the new workspace with Chrome at first, but if I press the shortcut again - it works. Can't find any logic or ways to reproduce that, so I'm willing to ignore it :)
from aerospace.
Then I'd appreciate if somebody who has this problem reproducible to "git bisect" the bug in the v0.11.2-Beta...v0.12.0-Beta range
I'd start by reverting 588f697
from aerospace.
Related Issues (20)
- Small windows in mission control HOT 2
- on-workspace-touched callback
- Query commands stealing focus
- alt-shift-NUMBER stopped working HOT 1
- Debug mode to listen/test keybinds HOT 1
- Provide a CLI flag to specify the target config file HOT 2
- Aerospace catch some window that dose not exist
- Run back-and-forth when selecting current workspace HOT 3
- My dialogs tend to open in the background HOT 2
- move and follow the window HOT 1
- Aerospace jumps to another workspace randomly HOT 5
- Possibility to use only the right option or the left option command. HOT 1
- aerospace macos-native-fullscreen generated fatal error
- Spotlight switches workspace HOT 2
- Runtime error when executing macos-native-fullscreen (CLI & keymap) HOT 1
- Feature Request: change menu bar opacity HOT 1
- Avoid workspace switching when opening notifications? HOT 3
- [Discussion] Merging Chrome tabs HOT 2
- Long setup jitter when plugging in multiple monitors together HOT 7
- Window edge sometimes getting cut off after turning off "Displays have separate spaces" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerospace.