Focusing workspace with Chrome focuses incorrect display
- Dominant language
- C
- Stars
- 29.6k
- Forks
- 758
- PR merge metrics
- No merged PRs in 30d
Description
I use two displays, display 1 has workspaces 1-7 and display 2 has workspaces 8-10.
Let's say workspaces 1 and 8 are visible (with 1 being focused) and windows 2 and 8 contain Chrome windows. Workspace 1 does not contain any Chrome windows. If I swap the focused workspace from 1 to 2 I expect that the Chrome window on workspace 2 to be focused. Instead, even though display 1 switches to workspace 2, the Chrome window on display 2 (window 8) is focused.
This behavior does not happen if workspace 1 has a Chrome window (which is focused prior to the toggle). This behavior also doesn't happen with other applications so I believe its specific to Chrome.
Is there any way, with yabai signals perhaps, to prevent this from happening?
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. First reproduce the two-display case with workspaces 1/2 and 8 and Chrome, then trace the workspace-focus path and compare it with another application. Done means the intended workspace's Chrome window is focused, or the issue documents a confirmed limitation or workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100