alt-tab-macos icon indicating copy to clipboard operation
alt-tab-macos copied to clipboard

Adding option "Space where cursor is active" in "Show windows from: "

Open alt-tab-macos-bot opened this issue 2 years ago • 4 comments

This issue was opened by a bot after a user submitted feedback through the in-app form.

From: [email protected]

Message:

Hi !

  • Adding option "Space where cursor is active" in "Show windows from: " in Controls' shortcuts. (consistent with "Show on: screen including mouse", useful in cases where different monitors use different spaces, each used for a specific group of applications)

  • Ability to choose a different Max width/height on screen. (I have a wide external monitor where I'd like the max width to be quite small percentage-wise compared to its width to avoid having to move head/eyes right to left to find a window; at the same time I use my macbook's screen which is quite narrow in comparison, having option "Show on: screen including mouse" active, I can't have the same max width setting that's optimal for both)

Thanks for this great piece of software :)

alt-tab-macos-bot avatar Dec 14 '23 16:12 alt-tab-macos-bot

Suggestion 1 seems to be have equivalent implementation from "Screen showing AltTab" image

Suggestion 2 seems interesting.

fad1 avatar Dec 22 '23 16:12 fad1

I'm thought more about the request. It differs from "Screen showing AltTab" in 1 way: if the user has a Space spreading multiple Screens. In that case, if they want to only see windows from that Space, we offer no solution today.

I think we could add an option to the Space dropdown:

  • All Spaces
  • Visible Spaces
  • Space showing AltTab

And in the same fashion as "Screen showing AltTab", the user would pick "Show on: Screen including mouse" in the Appearance tab.

lwouis avatar Feb 01 '24 10:02 lwouis

After trying to implement this, I found a technical blocker.

Today we use the CGSCopyManagedDisplaySpaces private API to get a list of screens with the spaces they contain. This API only works when the `Displays use separate Spaces" checkbox is checked by the user in System Settings.

However, in the use-case of this ticket, the user would necessarily have that checkbox unchecked, so their Spaces can span multiple displays.

I'm not sure it's possible for us to work around the limitations of CGSCopyManagedDisplaySpaces.

lwouis avatar Feb 01 '24 10:02 lwouis