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

Sonoma Caps-Lock indicator shows as a window in AltTab #2849

Closed
shaoyihao opened this issue Oct 3, 2023 · 8 comments
Closed

Sonoma Caps-Lock indicator shows as a window in AltTab #2849

shaoyihao opened this issue Oct 3, 2023 · 8 comments
Labels
macOS 14 macOS 14 Sonoma specific issue unactionable Further action is not possible due to lack of information or support

Comments

@shaoyihao
Copy link

In the latest MacOS system 14.0 Sonoma, the uppercase and lowercase status of the current input method will be displayed (as a small icon), but in alttab, this small icon will be regarded as a window, which brings inconvenience to window switching.

image
bug.mov

My environment

  • AltTab version: 6.59.0
  • macOS version: 14.0
@shaoyihao shaoyihao added the bug Something isn't working label Oct 3, 2023
@lwouis
Copy link
Owner

lwouis commented Oct 3, 2023

This is either an issue with Sonoma, or Chrome. I'll keep the issue up so I can check it out for myself, once I'm on Sonoma. But I can already tell you that this issue is not an AltTab bug.

@lwouis lwouis added unactionable Further action is not possible due to lack of information or support macOS 14 macOS 14 Sonoma specific issue and removed bug Something isn't working labels Oct 3, 2023
@lwouis lwouis changed the title New bug when running on Sonoma Sonoma Caps-Lock indicator shows as a window in AltTab Oct 3, 2023
@shaoyihao
Copy link
Author

shaoyihao commented Oct 3, 2023

Thank you for your reply!

Displaying the Caps-Lock status as a small icon seems to be a new feature of the macOS 14.
I'm wondering is there any way for AltTab to ignore that "window"(the small icon) ?

@depleur
Copy link

depleur commented Oct 6, 2023

This is either an issue with Sonoma, or Chrome. I'll keep the issue up so I can check it out for myself, once I'm on Sonoma. But I can already tell you that this issue is not an AltTab bug.

This seems to be an issue with Sonoma since the same issue is reproducible using Firefox, Sublime Text and a bunch of other apps too.

@meako689
Copy link

The same behavior appears when the input language indicator shows up.

I was trying to add it to the blacklist in the AltTab, but with no luck. The indicator seems to 'belong' to a parent window, of the focused application.

Another workaround would be to disable the indicator itself.

https://forums.macrumors.com/threads/caps-lock-icon.2391867/page
https://stackoverflow.com/questions/77248249/disable-macos-sonoma-text-insertion-point-cursor-caps-lock-indicator

@lwouis
Copy link
Owner

lwouis commented Oct 12, 2023

I've updated to Sonoma today, and was able to look into this issue.

Sonoma adds a window to show the indicator. It creates the window, in the app which has the active input field.

  1. macOS should obviously not use a window for that purpose. There are all sorts of panels and HUDS elements to use for that sorts of small UI. It should definitely not be a window. I hope Apple changes that implementation.
  2. In the meantime, there is nothing AltTab can do to workaround it. The window has no unique signature which we could use to hardcore a workaround to filter out it out.

It's unfortunate that Apple keeps introducing new issues with each release. See the second paragraph here.

Closing this as unactionable

@victorlin
Copy link

I'm using macOS 14.1.1 + AltTab 6.64.0 and can't reproduce the issue with the caps lock indicator. The indicator is still shown by the system, but it doesn't show as a window in AltTab.

@victorlin
Copy link

However, the indicator is not limited to caps-lock: it can also be shown when one has multiple input sources.

A 注

So far I have seen it come up in specific situations:

  1. When switching input sources.
  2. When switching away from iTerm.

(1) isn't detected by AltTab, but (2) is. I can't find any other application that causes this when switching away from it (macOS's Terminal.app works fine).

@nskazki
Copy link

nskazki commented Mar 15, 2024

@victorlin, you can disable the inline language indicator with

defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS 14 macOS 14 Sonoma specific issue unactionable Further action is not possible due to lack of information or support
Projects
None yet
Development

No branches or pull requests

6 participants