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

Skip "StatusIndicator" window in Auto-Type window list #7526

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

phoerious
Copy link
Member

Starting with macOS 12.2, when the audio recording indicator is shown, the "Window Server" process injects a "StatusIndicator" window into the list of active windows, which messes with Auto-Type's window title matching. This window has an Alpha value of 1 (so technically, it is not invisible), and it is always in front of all other windows. Hence, the only way to skip it is by title and owner name.

Fixes #7418

This fix should be backported to 2.7.

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@droidmonkey
Copy link
Member

What an absolutely dumb thing for Apple to do. This probably messes with accessibility software as well.

Starting with macOS 12.2, when the audio recording indicator is shown, the
"Window Server" process injects a "StatusIndicator" window into the list of
active windows, which messes with Auto-Type's window title matching. This
window has an Alpha value of 1 (so technically, it is not invisible), and it
is always in front of all other windows. Hence, the only way to skip it is by
title and owner name.

Fixes #7418
@phoerious phoerious force-pushed the fix/7418-macos-auto-type-recording branch from a9be4a0 to 83584f3 Compare March 12, 2022 11:39
@phoerious
Copy link
Member Author

Yes. I think we should still submit a ticket with Apple.

@michaelk83
Copy link

phoerious added this to the v2.8.0 milestone

Curious why 2.8.0 and not 2.7.1? This doesn't look like a big change, and doesn't introduce any new text. It's just a minor bug fix.

@phoerious
Copy link
Member Author

This is the develop branch. There will be a backport for 2.7.0.

@phoerious phoerious merged commit ed7acf3 into develop Mar 12, 2022
@phoerious phoerious deleted the fix/7418-macos-auto-type-recording branch March 12, 2022 20:08
@droidmonkey droidmonkey removed this from the v2.8.0 milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-type in macOS Monterey 12.2 does not work when recording indicator is on
3 participants