Alt-tab-macos: Add option to display all windows of all *visible* screens in multi monitor setup

Created on 8 Sep 2020  路  9Comments  路  Source: lwouis/alt-tab-macos

Is your feature suggestion related to a problem? Please describe.
This (I think) only applies when the native setting "Screens have separate spaces" is enabled.
Currently when this setting is enabled:

  • "Active Space" + "All Screens" only shows the windows of each individual monitor (given the currently active space).
  • "All Spaces" + "All Screens" shows windows from both spaces but also all other non-visible spaces.

This comes down to what I assume macOS considers to be an active space vs. what I as a user consider to be my active working space.

Describe the solution you'd like
I would like to see an additional setting that allows me to see all windows from all visible spaces.
I'm sadly not sure if it's possible to detect if spaces are visible but it would be ideal.

Describe alternatives you've considered
I don't think this applies for this request.

enhancement

Most helpful comment

Hi @BFriedrichs! Thank you for sharing this suggestion!

Just so I understand clearly:

  • This new use-case applies only to multi-monitor setups
  • Today you can only show All Spaces or Active Space (space with the keyboard focus)
  • You want to have a new 3rd option: Visible Spaces. It would show windows from all Spaces which the user can currently see on their displays.

I think it's a good idea. I'm using a single monitor, so for me the active Space is always the visible Space, but on a multi-monitor setup, you can view multiple Spaces, yet only one of them is active (receives keyboard input). It's a great suggestion 馃憤

On the feasibility side, it's most likely doable. There are many private APIs too in that area, so I think tech won't be a blocker.

All 9 comments

Hi @BFriedrichs! Thank you for sharing this suggestion!

Just so I understand clearly:

  • This new use-case applies only to multi-monitor setups
  • Today you can only show All Spaces or Active Space (space with the keyboard focus)
  • You want to have a new 3rd option: Visible Spaces. It would show windows from all Spaces which the user can currently see on their displays.

I think it's a good idea. I'm using a single monitor, so for me the active Space is always the visible Space, but on a multi-monitor setup, you can view multiple Spaces, yet only one of them is active (receives keyboard input). It's a great suggestion 馃憤

On the feasibility side, it's most likely doable. There are many private APIs too in that area, so I think tech won't be a blocker.

This is exactly correct, thank you for the fast response :) I'm looking forward to it

I too would love to see a feature like this, and am willing to help test this if needed!

I would really like to implement this. I'm completely swamped with work and personal life though, otherwise it would be done already. It should be a reasonably small addition so anyone interested to contribute, consider getting your feet wet 馃憤

I implemented this ticket 馃コ

Could you please try out this test build and let me know if it works for you? Here are some scenarios I used to test the feature:

  • Plug external monitor
  • Unplug external monitor
  • Create new space
  • Delete space
  • Mirror internal and external displays
  • System Preferences > Mission Control > "Displays have separate Spaces" checkbox checked, and unchecked

I didn't have time to test the last item, so your help here would be greatly appreciated 馃憤

It's working beautifully for me, thank you :) I have the "Displays have separate Spaces" option enabled.

The only thing I noticed is that when activating AltTab immediately after switching to a different space using a keyboard shortcut it shows the windows of the previous space, but I assume thats down to the animation not being finished and realistically is not an issue at all.

Testing this out right now, and it seems to work great so far. Thank you so much!

The only thing I noticed is that when activating AltTab immediately after switching to a different space using a keyboard shortcut it shows the windows of the previous space, but I assume thats down to the animation not being finished and realistically is not an issue at all.

Interesting. I think that's a regression introduced quite some time ago. I think it's already happening on the public release.

I'll release this, and opened another issue for the issue spotted by @BFriedrichs above

Was this page helpful?
0 / 5 - 0 ratings