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

Permissions causing hundreds of re-launches of AltTab #4039

Open
jbbehar opened this issue Dec 30, 2024 · 5 comments
Open

Permissions causing hundreds of re-launches of AltTab #4039

jbbehar opened this issue Dec 30, 2024 · 5 comments
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue

Comments

@jbbehar
Copy link

jbbehar commented Dec 30, 2024

When the dumb MacOS re-prompts for permissions occur, if for some reason you don't get to both permissions in the same launch of the preferences panes, you get caught in a very high cpu, multiple launch situation where AltTab keeps re-launching and opening many instances of itself filling the top taskbar.

I would have taken a screenshot or a video, but the entire system became completely unresponsive and had to be force shut down.

Your environment

  • AltTab version: 7.14.1
  • macOS version: Sequoia 15.0
  • Other relevant info: MacMini M2
@jbbehar jbbehar added the bug Something isn't working label Dec 30, 2024
@lwouis
Copy link
Owner

lwouis commented Dec 30, 2024

Hi,

Thank you for sharing this issue. It sounds terrible! I'm sorry this happened to you!

I'm afraid I don't know how to reproduce this issue. Could you please clarify what you mean by "MacOS re-prompts for permissions"?

MacOS introduced a new system with macOS 15.2: #3973. I notice that you're on 15.0, so I'm wondering what experience you're having.

Thank you 🙇

@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Dec 30, 2024
@jbbehar
Copy link
Author

jbbehar commented Dec 30, 2024 via email

@jbbehar
Copy link
Author

jbbehar commented Dec 30, 2024 via email

@lwouis
Copy link
Owner

lwouis commented Dec 30, 2024

Thank you for your message

The typical MacOS permission request for the ability to record the screen and some other accessibility prompt

Are you talking about this dialog?

image

If not, could you please screenshot what you're seeing?

We could perhaps block multiple respawn. This was discussed in #1840. The context was a bit different, because it was about launch-at-login.

AltTab already has a mechanism to avoid launching multiple instances though. If you open it manually multiple times, from the /Applications folder or the Dock, it will show the preferences panel. It will not launch again.

So there is something about the macOS permission dialog that's uniquely a problem.

I wonder if the issue is that AltTab is trying to restart, so it creates a new instance, then tries to quit, but macOS is preventing the quit since there is a permission prompt? I've never been able to see the new prompt myself. The one that you mentions comes in every month. I wonder if there is a way to force it.

Thank you

@jbbehar
Copy link
Author

jbbehar commented Dec 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests

2 participants