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

Esoteric crashing / permission callout _**occasionally**_ displayed erroneously #3850

Closed
frypf opened this issue Nov 14, 2024 · 2 comments
Closed
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue

Comments

@frypf
Copy link

frypf commented Nov 14, 2024

Describe the bug

AKA "AltTab gets confused when I attempt to confuse it on purpose 😅" – only noticed while testing proposed fix for #3801:

...I also tried revoking SR permission and checking the option to skip it, and the warning reappears as intended. I did notice that with the option checked, if I then click Check permissions... (or Grant permission, which now also seems to work as intended), the option is automatically unchecked when AltTab's permissions window appears. The flow of this all makes a bit more sense now.

At that point if I either re-grant the SR permission within System Prefs or re-check Use the app without permission… , AltTab reopens itself and the warning goes away again. However in the second case, AltTab will always crash when I actually try to switch windows via the shortcut.

AltTab also gets confused (either re-showing the warning or crashing upon shortcut, or both) if I check the option to skip while SR permission is already granted, or revoke the permission while the option is already checked, or generally when I toggle things out of the intended order. I sent all the crash reports I was presented with - feels like some sort of race condition in certain circumstances between checking granted vs skipped. By no means something that will affect day-to-day use, just thought you might want to be aware.


Caveats:

  1. I was purposefully attempting to do things out-of-order - a consistent pattern is hard to nail down.
  2. I did attempt to get some log data by running via terminal, but the combination of running AltTab via a different parent and AltTab automatically restarting itself after changing permissions made it a fruitless exercise.
  3. I always grant Screen Rec permission; none of these flows ever come up in my (or potentially any "normal") usage pattern.

Screenshots / video

Screen.Recording.2024-11-14.at.14.48.48.mp4
Screen.Recording.2.2024-11-14.at.14.20.06.mp4

Steps to reproduce the bug

The most consistently reproducible crash I've found (see caveats above) - as shown in vid 1:

  1. AltTab running with all permissions granted and callout successfully hidden.
  2. Revoke SR permission via system prefs window.
  3. Check Use the app without this permission… when AltTab's permission window pops up.
  4. Wait for AltTab to restart and then hit shortcut to switch windows.
  5. Immediate crash.

Your environment

  • AltTab version: (unreleased test build >7.3.0)
  • macOS version: Monterey
@frypf frypf added the bug Something isn't working label Nov 14, 2024
@lwouis
Copy link
Owner

lwouis commented Nov 16, 2024

Thank you for sharing the issue here

Is this still happening with v7.4.0?
I'm not able to reproduce the issue on my side

@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Nov 16, 2024
@frypf
Copy link
Author

frypf commented Nov 22, 2024

Seems resolved in v7.4.0 AFAICT 👍👏.

@lwouis lwouis closed this as completed Nov 22, 2024
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