Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alt-tab-macos-bot opened this issue Dec 14, 2023 · 3 comments
Labels
enhancement New feature or request need breakthrough Need a breakthrough idea to move forwards

Comments

@alt-tab-macos-bot
Copy link

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

From: fahd777@pm.me

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 :)

@fad1
Copy link

fad1 commented Dec 22, 2023

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

Suggestion 2 seems interesting.

@lwouis lwouis changed the title [In-app feedback] Adding option "Space where cursor is active" in "Show windows from: " Jan 28, 2024
@lwouis lwouis added the enhancement New feature or request label Jan 28, 2024
@lwouis
Copy link
Owner

lwouis commented Feb 1, 2024

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
Copy link
Owner

lwouis commented Feb 1, 2024

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 lwouis added the need breakthrough Need a breakthrough idea to move forwards label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request need breakthrough Need a breakthrough idea to move forwards
Projects
None yet
Development

No branches or pull requests

3 participants