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

Suggested Workaround for AutoFocus Interfering with Overlay Add-Ins like Default Folder X #15

Closed
mikeglenn opened this issue Mar 2, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikeglenn
Copy link

mikeglenn commented Mar 2, 2023

Hello. I'm really enjoying AutoFocus beta. Only one issue so far: Default Folder X is an add-in that creates a sidebar-like overlay for Open/Save dialogs to let you easily select recent folders or files. The problem is, with AutoFocus activated, the Default Folder X overlay disappears as soon as you move the cursor over it, so only the original Open/Close dialog remains visible. AutoFocus has to be disabled to allow Default Folder X to function properly.

Describe the solution you'd like
If there's no easy way to prevent AutoFocus from interfering with overlays like this, an acceptable workaround might be to add an option in AutoFocus Preferences that does the opposite of Auto raise window under cursor: "Only allow when one of the following keys is pressed." It could be called: "Disable AutoFocus while one of the following keys is pressed." So, for example, if someone selected this new option, they could hold down the Option key while interacting with the Default Folder X overlay to prevent it from disappearing.

Describe alternatives you've considered
The only other alternative I can think of is if you can figure out a way to prevent AutoFocus from interfering with these kinds of overlays. In my opinion, it would be too annoying to use AutoFocus with "Only allow when one of the following keys is pressed." enabled all the time. That would make me not want to use AutoFocus at all.

Additional context

  • AutoFocus version 0.6.6 (1)
  • macOS 13.2.1
  • M2 Pro Mac mini

Two screenshots: (1) Standard Open/Save dialog and (2) Default Folder X overlay that normally appears around it:
Screenshot AutoFocus Default Folder X issue 2023-03-02 at 12 37 45 PM
Screenshot AutoFocus Default Folder X issue  2023-03-02 at 12 32 31 PM

@synappser
Copy link
Owner

Hi @mikeglenn,

Thank you for the detailed suggestion. As the saying goes, great minds think alike 😉. Yesterday I finished the first pass on an experimental "Focus Without Raising" feature to be added to the next release. It comes with an option to temporarily disable it by holding the Function modifier key (fn) to get the regular window raising behaviour. It's working pretty well and I was already thinking that it would be handy to have a similar opposite key modifier on the current "Focus With Raising".

Another approach would be to add an exclusion list for selected applications but that would be longer to implement.

I'm adding both solutions to my todo list.

Thanks

@synappser synappser added the enhancement New feature or request label Mar 2, 2023
@mikeglenn
Copy link
Author

mikeglenn commented Mar 2, 2023 via email

@synappser
Copy link
Owner

Partially implemented in v0.6.7b.

@mikeglenn
Copy link
Author

Thanks! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants