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

Permission callout shown even though permissions are granted #3801

Closed
alt-tab-macos-bot opened this issue Nov 3, 2024 · 46 comments
Closed
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue

Comments

@alt-tab-macos-bot
Copy link

This issue was opened by a bot after a user submitted feedback through the in-app form.

From: paul_wilky76@icloud.com

Message:

I have just uploaded to v7.1.1 and I have a "AltTab is running without Screen Recording permissions. Thumbnails won't show" warning when i click on the dropdown menu.

When I then click on "check permissions", it says "AltTab needs some permissions" HOWEVER, both Accessibility and Screen Recording are both shown as "allowed" in green text.

So the warning is not correct.

Debug profile

  • App version: 7.1.1
  • App preferences:
    • MSAppCenter310AppCenterUserDefaultsMigratedKey: 1
    • MSAppCenter310CrashesUserDefaultsMigratedKey: 1
    • MSAppCenterInstallId: BE250456-F8B5-4153-B5AB-57D0D0CDE1A2
    • MSAppCenterNetworkRequestsAllowed: 0
    • MSAppCenterPastDevices: {length = 1145, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000385 }
    • MSAppCenterSessionIdHistory: {length = 460, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000156 }
    • MSAppCenterUserIdHistory: {length = 455, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000151 }
    • NSNavLastRootDirectory: /Applications
    • NSNavPanelExpandedSizeForOpenMode: {928, 539}
    • NSStatusItem Preferred Position Item-0: 6548
    • NSWindow Frame NSNavPanelAutosaveName: -314 -339 928 539 0 0 2560 1415
    • NSWindow Frame SUUpdateAlert: 970 775 620 398 0 0 2560 1415
    • SUAutomaticallyUpdate: 0
    • SUEnableAutomaticChecks: 0
    • SUHasLaunchedBefore: 1
    • SULastCheckTime: 2024-11-03 10:02:06 +0000
    • SUUpdateRelaunchingMarker: 0
    • alignThumbnails: 0
    • appearanceSize: 0
    • appearanceVisibility: 0
    • blacklist: [{"ignore":"0","bundleIdentifier":"com.McAfee.McAfeeSafariHost","hide":"1"},{"ignore":"0","bundleIdentifier":"com.apple.finder","hide":"2"},{"ignore":"2","bundleIdentifier":"com.microsoft.rdc.macos","hide":"0"},{"ignore":"2","bundleIdentifier":"com.teamviewer.TeamViewer","hide":"0"},{"ignore":"2","bundleIdentifier":"org.virtualbox.app.VirtualBoxVM","hide":"0"},{"ignore":"2","bundleIdentifier":"com.parallels.","hide":"0"},{"ignore":"2","bundleIdentifier":"com.citrix.XenAppViewer","hide":"0"},{"ignore":"2","bundleIdentifier":"com.citrix.receiver.icaviewer.mac","hide":"0"},{"ignore":"2","bundleIdentifier":"com.nicesoftware.dcvviewer","hide":"0"},{"ignore":"2","bundleIdentifier":"com.vmware.fusion","hide":"0"},{"ignore":"2","bundleIdentifier":"com.apple.ScreenSharing","hide":"0"},{"ignore":"2","bundleIdentifier":"com.utmapp.UTM","hide":"0"},{"ignore":"0","bundleIdentifier":"com.highcaffeinecontent.radio","hide":"1"},{"ignore":"0","bundleIdentifier":"com.macpaw.site.theunarchiver","hide":"1"}]
    • crashPolicy: 2
    • hideThumbnails: false
    • holdShortcut: ⌘
    • iconSize: 15
    • maxHeightOnScreen: 72
    • maxWidthOnScreen: 73
    • preferencesVersion: 7.1.1
    • rowsCount: 5
    • showTabsAsWindows: true
    • theme: 0
    • updatePolicy: 0
    • windowMaxWidthInRow: 17
    • windowMinWidthInRow: 17
  • Applications: 84
  • Windows: 6
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: false, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 1, spaceIndex: 1}
    • {isFullscreen: false, isWindowlessApp: true, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: true, spaceId: 18446744073709551615, spaceIndex: 9223372036854775807}
    • {isFullscreen: false, isWindowlessApp: true, isMinimized: false, isHidden: false, isTabbed: false, isOnAllSpaces: false, shouldShowTheUser: false, spaceId: 18446744073709551615, spaceIndex: 9223372036854775807}
  • OS version: Version 12.7.6 (Build 21H1320)
  • OS architecture: x86_64
  • Locale: en_GB (current)
  • Spaces: 1
  • Dark mode: Light
  • "Displays have separate Spaces": checked
  • Hardware model: iMac17,1
  • Screens: 1
    • {x: 0.0, y: 0.0, width: 2560.0, height: 1440.0}
  • CPU model: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
  • Memory size: 34.36 GB
  • Active CPU count: 8
  • Current CPU frequency: 4.0 Ghz
  • Resource utilization:
    • CPU: 0.1%
    • Memory: 77M+
    • Threads count: 11

@wilky761
Copy link

wilky761 commented Nov 3, 2024

Screenshot 2024-11-03 at 09 58 00

@wilky761
Copy link

wilky761 commented Nov 3, 2024

Screenshot 2024-11-03 at 10 03 59

@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Nov 3, 2024
@lwouis
Copy link
Owner

lwouis commented Nov 3, 2024

Hi @wilky761,

I can't reproduce this issue on my side.

It is always happening for you, or just sometimes? Does it remain if you restart AltTab? When you restart your mac?

Thank you 🙇

@lwouis lwouis added the bug Something isn't working label Nov 3, 2024
@lwouis lwouis changed the title [In-app feedback] Permission callout shown even though permissions are granted Nov 3, 2024
@wilky761
Copy link

wilky761 commented Nov 3, 2024

Hi there, thanks for the reply. It's only happened since upgrading to v7.1.1. I've tried restarting the app, and also rebooting my iMac, but I still have the issue......the app works by the way, no problem. I just have this incorrect message about permissions when I click on the app.

Screenshot 2024-11-03 at 19 48 27 Screenshot 2024-11-03 at 19 48 34 Screenshot 2024-11-03 at 19 49 08

@karamfd
Copy link

karamfd commented Nov 3, 2024

I'm seeing the same warning on the latest version. I'm using Mac OS Monterey 12.7.6

@lwouis lwouis added the macOS 12 macOS 12 Monterey specific issue label Nov 3, 2024
@lwouis
Copy link
Owner

lwouis commented Nov 3, 2024

You're both on macOS 12.7.6. It may be specific to that version.

@lwouis
Copy link
Owner

lwouis commented Nov 3, 2024

Could you please run this custom build from Terminal.app and share the logs here?

@houzixiashanxiedaima
Copy link

macOS 13.7.1 has the same issue.

@wilky761
Copy link

wilky761 commented Nov 5, 2024

V7.2.0 has not fixed it. I still have the "without screen recording permissions" message, and when I click on "grant permissions", the app crashes.

@lwouis
Copy link
Owner

lwouis commented Nov 5, 2024

Does it crash or does it just quit? If it crashes, you'll get asked to send a crash report on the next launch. Is it the case? If it is please send the report.

Also could you please share this?

Thank you

@houzixiashanxiedaima
Copy link

houzixiashanxiedaima commented Nov 5, 2024

Hi, I tried the custom build and open from terminal, still get the same issue.
the permission is enabled in system setting, i also tried to re-enabled permission, but not work.
There is no crash, just upgrade from older version from brew.

18:06:24.412 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:24.500 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:24.601 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:24.700 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:24.800 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:24.900 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.000 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.100 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.200 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.300 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.400 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.504 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.603 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.755 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.806 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:25.900 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:26.000 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:26.100 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:26.200 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:26.302 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:26.400 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-05 18:06:26.500 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false

@lwouis
Copy link
Owner

lwouis commented Nov 5, 2024

These logs tell us that the fonction screenRecordingIsGranted_ to check permissions returns false.

After the initial launch, and permissions are granted, AltTab will check if permissions are still granted, every 5s. If the permission is not granted, AltTab will restart.

I'm surprised that AltTab is not restarting on your machine. I also don't see logs starting with isHidden, which I added in that build. Perhaps you didn't share them here?

Thank you

@dimitristsilis
Copy link

dimitristsilis commented Nov 5, 2024

I have the same problem in v7.2.0 in MacOS Ventura. The app works normally despite the warning:
Στιγμιότυπο οθόνης 2024-11-05, 1 22 52 μμ
Unrelated, but I just completed the Greek translation of the app. Please include it in the next release.

@houzixiashanxiedaima
Copy link

These logs tell us that the fonction screenRecordingIsGranted_ to check permissions returns false.

After the initial launch, and permissions are granted, AltTab will check if permissions are still granted, every 5s. If the permission is not granted, AltTab will restart.

I'm surprised that AltTab is not restarting on your machine. I also don't see logs starting with isHidden, which I added in that build. Perhaps you didn't share them here?

Thank you

Hi, i tried the custom build again, there is no isHidden print.
When start in Terminal, there is a permission page show, but i already Allowed all required permissions:
iShot_2024-11-06_16 09 11

The full log is
2024-11-06 16:09:11.982 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.081 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.182 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.281 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.381 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.481 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.582 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.682 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.781 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.882 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:12.981 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:13.082 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:13.182 ❤️ ERROR SystemPermissions.swift:19 screenRecordingIsGranted() - false false 2024-11-06 16:09:13.233 ❤️ ERROR PermissionsWindow.swift:31 windowWillClose() - Before using this app, you need to give permission in System Preferences > Security & Privacy > Privacy > Accessibility. Please authorize and re-launch. See https://help.rescuetime.com/article/59-how-do-i-enable-accessibility-permissions-on-mac-osx 2024-11-06 16:09:13.236 ❤️ ERROR PermissionsWindow.swift:31 windowWillClose() - Before using this app, you need to give permission in System Preferences > Security & Privacy > Privacy > Accessibility. Please authorize and re-launch. See https://help.rescuetime.com/article/59-how-do-i-enable-accessibility-permissions-on-mac-osx

@lwouis
Copy link
Owner

lwouis commented Nov 6, 2024

@houzixiashanxiedaima you need to grant Terminal.app the permissions, if you launch AltTab from the Terminal.

I'm confused. You mentioned that you opened via the Terminal the previous time as well, yet that time, you said that the permission windows was all green, no?

Thank you

@houzixiashanxiedaima
Copy link

@houzixiashanxiedaima you need to grant Terminal.app the permissions, if you launch AltTab from the Terminal.

I'm confused. You mentioned that you opened via the Terminal the previous time as well, yet that time, you said that the permission windows was all green, no?

Thank you

I apologize for the confusion. Let me be more specific:

  • When I open from Terminal, a popup appears indicating that I haven't granted accessibility and screen recorder permissions;
  • When I open by double-clicking, it notifies me that screen recorder permission hasn't been granted, but the functionality works normally;
  • I have already granted both these permissions to AltTab in the system settings.

The one who got all green windows is @wilky761

@lwouis
Copy link
Owner

lwouis commented Nov 6, 2024

When I open by double-clicking, it notifies me that screen recorder permission hasn't been granted, but the functionality works normally;

Do you mean you see the permission window, or the callout in the menubar menu?

Could you please share a video?

Thank you

@lwouis lwouis removed the macOS 12 macOS 12 Monterey specific issue label Nov 6, 2024
@michkozak
Copy link

Experiencing this too. AltTab 7.2.0, macOS Ventura 13.7.1, M1 MacBook Air.

Screenshot 2024-11-06 at 21 40 05

@lwouis
Copy link
Owner

lwouis commented Nov 6, 2024

Could you please share a video?

Thank you

@michkozak
Copy link

@lwouis I recorded a short 35s video, but unfortunately it's ~100MB, and GitHub won't allow anything bigger than 10MB.

@michkozak
Copy link

@lwouis Here's the video on YouTube.

@lwouis
Copy link
Owner

lwouis commented Nov 7, 2024

Thank you @michkozak! I can't find any clue. Looking at the code, it's a mystery: the same permission check is done to paint the background green as is done to display the purple callout. I can't imagine why it wouldn't be sync'd :/

@michkozak
Copy link

Fortunately, unlike #3819, this one is only a UI bug, everything works as expected :).

@phazei
Copy link

phazei commented Nov 8, 2024

Have you tried removing the app from the permissions and readding it? Not just clicking the slider in the permissions window, but the "-" at the bottom. I recently had a permissions issue like that and doing that helped fix it.

@wilky761
Copy link

wilky761 commented Nov 8, 2024

Have you tried removing the app from the permissions and readding it? Not just clicking the slider in the permissions window, but the "-" at the bottom. I recently had a permissions issue like that and doing that helped fix it.

I tried this, but it didn't work. Thanks for the suggestion.

@michkozak
Copy link

For the record, I tried that many times too, didn't solve the problem. I even nuked the app and all its various related files and and reinstalled it - didn't solve the problem either.

@frypf
Copy link

frypf commented Nov 10, 2024

Just upgraded to v7.2.0 and ran into this as well.
I'm still on Monterey, can't really add anything further to the discussion above - I tried @phazei's suggestion but the issue persists. As others have stated, it doesn't impair functionality other than causing AltTab to quit if I actually click on "Grant permission".

Screenshot 2024-11-10 at 15 22 22

@wilky761
Copy link

I'm on v7.3.0. and the issue is still happening.....

@lwouis
Copy link
Owner

lwouis commented Nov 11, 2024

Hi @wilky761,

v7.3.0 has a new way to handle Mission control on macOS 12+. This should have fixed #3819.

If I understand correctly, you suffer from the OP issue, which is that the permission is granted, yet AltTab shows the purple callout, correct?

Could you please launch AltTab from Terminal.app as such?

/Applications/AltTab.app/Contents/MacOS/AltTab --logs=debug

Then could you please share the first 30s of logs?

Thank you 🙇

@wilky761
Copy link

wilky761 commented Nov 11, 2024

~ % /Applications/AltTab.app/Contents/MacOS/AltTab --logs=debug
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:09 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:10 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:11 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:12 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:13 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:14 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:15 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:16 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:17 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:18 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:19 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:20 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:21 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:22 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:23 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:24 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:25 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:26 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false
12:26:27 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() notGranted notGranted false

@frypf
Copy link

frypf commented Nov 11, 2024

I'm on v7.3.0. and the issue is still happening.....

Same for me I'm afraid. I also took a look at #3819, tried disabling the screen recording permission and checking the "Use the app without this permission" option, but the in-menu warning still shows when the app reopens.

On a related note, the whole UI / UX regarding the interaction between this in-menu warning and that new option is a bit weird tbh. I'm guessing the warning isn't intended to show once we've checked the option, and obviously having checked it, AltTab's permissions checker dialog is no longer shown when the app starts up without screen recording permission.

But even if the warning wasn't erroneously shown, it all just feels a bit circular somehow and I'm unsure what problem it's actually meant to solve.

Ie. if a user has purposefully chosen to use without SR permission, no warning should be required anywhere. If we haven't specifically chosen this, the permissions checker should open because we haven't already checked the option. But in that case, surely the permissions checker window is launched automatically anyway, making the warning superfluous?

Even if the user has purposefully skipped SR permission, it would still be convenient to have a shortcut to open the appropriate system settings tab somewhere within AltTab, in case we change our minds. I just find the big purple warning in the drop-down menu somewhat jarring, would it not be better suited as something less attention-grabbing within the preferences window? Off the top of my head maybe Appearance, maybe Policies, but I'm no semanticist 😅

@lwouis
Copy link
Owner

lwouis commented Nov 11, 2024

@wilky761 when AltTab launches, it first checks for permissions. If they are not granted, it shows the PermissionsWindow. If they are granted, it launches silently.

The logs you shared look like that initial permission check, before AltTab is launched. Did you see the permission window pop with all red permissions? When you launch AltTab from Terminal.app, you have to give Accessibility and Screen Recording permissions to Terminal, since it's the parent process. It seems here that you haven't done that.

Could you please share a video of launching AltTab with the logs? Then we can see the full set of symptoms.

Thank you 🙇

@lwouis
Copy link
Owner

lwouis commented Nov 11, 2024

Hi @frypf,

The purple callout exists so that people who check the checkbox to skip SR permissions know that they did, later on. It's easy for an impatient user to check that box to "get the app to work", and later on complain that the thumbnails are not showing. This callout reminds users that they run in a degraded mode, and can decide to upgrade by granting the missing permission.

I understand that for users who know what they are doing, it's uncessary. However, we have to think of all users.

it would still be convenient to have a shortcut to open the appropriate system settings tab somewhere within AltTab, in case we change our minds

This is available by clicking on the menubar and picking Check permissions...

Could you please share a video of the issue? With v7.3 released, I'm very surprised to see people still having the issue. I would like to see a video of the issue, with v7.3, so I can try and understand what's going on. Please run AltTab as indicated here, so we can get precious logs to try and debug the issue.

Thank you 🙇

@frypf
Copy link

frypf commented Nov 11, 2024

This is available by clicking on the menubar and picking Check permissions...

Almost as if to illustrate your point about users not reading things properly, I'd never actually noticed that menu item 🤦‍♂️😂 (although I'd never had cause to look for it until this issue came up). If, as you're saying, the callout is designed to be shown even if the user has specifically opted out of SR permission, it does still seem out of keeping with the rest of AltTabs well-considered UI. Anyway not my circus, and I'd likely never have had an opinion on it as I usually grant AltTab everything it asks for... we're all prone to occasional blind clicking to get stuff up-and-running faster I suppose.

Screen.Recording.2024-11-11.at.17.54.07.mp4
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 173 com.apple.loginwindow
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 495 com.apple.dock
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 497 com.apple.systemuiserver
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 496 com.apple.controlcenter
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 498 com.apple.finder
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 556 com.apple.Spotlight
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 473 com.apple.wifi.WiFiAgent
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 665 com.apple.notificationcenterui
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 703 com.apple.TextInputMenuAgent
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 698 com.apple.AirPlayUIAgent
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 715 com.doomlaser.cursorcerer
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1054 com.raycast.macos
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1056 com.bitwarden.desktop
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1051 com.apple.shortcuts.events
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 684 at.obdev.littlesnitch.agent
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1069 com.google.drivefs
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1125 com.apple.universalcontrol
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1147 com.hegenberg.BetterTouchTool
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1176 com.apple.systemevents
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 28402 com.apple.PowerChime
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 64754 com.brave.Browser
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 65210 com.brave.Browser.helper.plugin
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 35184 com.apple.accessibility.universalAccessAuthWarn
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 98958 com.apple.security.Keychain-Circle-Notification
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1160 com.googlecode.iterm2
18:05:33 DEBG Application.swift:76 observeEventsIfEligible() Adding app 2042 com.lwouis.alt-tab-macos
18:05:34 DEBG UserDefaultsEvents.swift:17 handleEvent() Optional("SUAutomaticallyUpdate") false autoCheck
18:05:34 DEBG UserDefaultsEvents.swift:17 handleEvent() Optional("SUEnableAutomaticChecks") false autoCheck
18:05:37 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
18:05:37 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 2042 nil
18:05:37 DEBG Window.swift:57 init() Adding window 4108 ScreenCapture com.apple.finder
18:05:37 DEBG Window.swift:67 init() Brave Browser com.brave.Browser
18:05:37 DEBG Window.swift:57 init() Adding window 4306 mba (-zsh) – [1170]    —    iTerm com.googlecode.iterm2
18:05:37 DEBG Window.swift:71 deinit() Brave Browser com.brave.Browser
18:05:37 DEBG Window.swift:67 init() Brave Browser com.brave.Browser
18:05:38 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:38 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:38 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:38 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:38 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:38 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
18:05:38 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
18:05:38 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
18:05:38 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2106, "com.apple.DiagnosticsReporter")]
18:05:38 DEBG Application.swift:76 observeEventsIfEligible() Adding app 2106 com.apple.DiagnosticsReporter
18:05:38 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2106, "com.apple.DiagnosticsReporter")]
18:05:38 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
18:05:39 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:39 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:39 INFO App.swift:175 focusTarget() nil Brave Browser 64754 com.brave.Browser
18:05:39 INFO App.swift:124 hideUi()
18:05:39 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:39 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 64754 Brave
18:05:39 DEBG SpacesEvents.swift:9 handleEvent() NSWorkspaceActiveSpaceDidChangeNotification
18:05:39 INFO SpacesEvents.swift:12 handleEvent() current space 2 160
18:05:39 DEBG Window.swift:57 init() Adding window 1213 Permission callout shown even though permissions are granted · Issue #3801 · lwouis/alt-tab-macos - Brave com.brave.Browser
18:05:39 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2164, "nil")]
18:05:39 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2164, "nil")]
18:05:39 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:39 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:40 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:40 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:40 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:40 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:40 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:40 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:40 INFO App.swift:175 focusTarget() 4306 mba (AltTab) – [2042]    —    iTerm 1160 com.googlecode.iterm2
18:05:40 INFO App.swift:124 hideUi()
18:05:40 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:40 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 1160 iTerm2
18:05:40 DEBG SpacesEvents.swift:9 handleEvent() NSWorkspaceActiveSpaceDidChangeNotification
18:05:40 INFO SpacesEvents.swift:12 handleEvent() current space 1 5
18:05:40 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2244, "nil")]
18:05:40 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:40 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2244, "nil")]
18:05:40 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:41 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:41 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:41 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:41 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:41 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
18:05:41 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
18:05:41 DEBG Window.swift:71 deinit() Brave Browser com.brave.Browser
18:05:42 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:42 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:42 INFO App.swift:175 focusTarget() 4108 ScreenCapture 498 com.apple.finder
18:05:42 INFO App.swift:124 hideUi()
18:05:42 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:42 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 498 Finder
18:05:43 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:43 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2357, "nil")]
18:05:43 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2357, "nil")]
18:05:43 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:43 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:43 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:43 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:43 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:43 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:43 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:43 INFO App.swift:175 focusTarget() 4306 mba (AltTab) – [2042]    —    iTerm 1160 com.googlecode.iterm2
18:05:43 INFO App.swift:124 hideUi()
18:05:43 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
18:05:43 DEBG AccessibilityEvents.swift:7 AltTab() AXMainWindowChanged
18:05:43 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:43 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 1160 mba (AltTab) – [2042]    —    iTerm
18:05:43 INFO AccessibilityEvents.swift:15 handleEvent() AXMainWindowChanged 1160 mba (AltTab) – [2042]    —    iTerm
18:05:43 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 1160 iTerm2
18:05:43 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2452, "nil")]
18:05:43 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
18:05:43 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2452, "nil")]
18:05:43 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:48 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
18:05:48 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2518, "com.apple.DiagnosticsReporter")]
18:05:48 DEBG Application.swift:76 observeEventsIfEligible() Adding app 2518 com.apple.DiagnosticsReporter
18:05:48 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2518, "com.apple.DiagnosticsReporter")]
18:05:48 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
18:05:52 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:52 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:52 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:52 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:52 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:52 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:52 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:52 INFO App.swift:175 focusTarget() 4108 ScreenCapture 498 com.apple.finder
18:05:52 INFO App.swift:124 hideUi()
18:05:52 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:52 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 498 Finder
18:05:52 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2625, "nil")]
18:05:52 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2625, "nil")]
18:05:52 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:52 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:53 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:53 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:53 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:53 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:53 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:53 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:53 INFO App.swift:175 focusTarget() 4306 mba (AltTab) – [2042]    —    iTerm 1160 com.googlecode.iterm2
18:05:53 INFO App.swift:124 hideUi()
18:05:53 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
18:05:53 DEBG AccessibilityEvents.swift:7 AltTab() AXMainWindowChanged
18:05:53 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:53 INFO AccessibilityEvents.swift:15 handleEvent() AXMainWindowChanged 1160 mba (AltTab) – [2042]    —    iTerm
18:05:53 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 1160 mba (AltTab) – [2042]    —    iTerm
18:05:53 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 1160 iTerm2
18:05:53 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2723, "nil")]
18:05:53 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
18:05:53 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2723, "nil")]
18:05:53 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:58 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:58 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
18:05:59 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2789, "com.apple.DiagnosticsReporter")]
18:05:59 DEBG Application.swift:76 observeEventsIfEligible() Adding app 2789 com.apple.DiagnosticsReporter
18:05:59 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2789, "com.apple.DiagnosticsReporter")]
18:05:59 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:59 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:59 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:59 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:59 INFO App.swift:175 focusTarget() 4108 ScreenCapture 498 com.apple.finder
18:05:59 INFO App.swift:124 hideUi()
18:05:59 DEBG AccessibilityEvents.swift:7 AltTab() AXMainWindowChanged
18:05:59 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:59 INFO AccessibilityEvents.swift:15 handleEvent() AXMainWindowChanged 498 ScreenCapture
18:05:59 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 498 Finder
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
18:05:59 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2864, "nil")]
18:05:59 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2864, "nil")]
18:05:59 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
18:05:59 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
18:05:59 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
18:05:59 INFO ATShortcut.swift:79 executeAction() holdShortcut
18:05:59 INFO App.swift:175 focusTarget() 4306 mba (AltTab) – [2042]    —    iTerm 1160 com.googlecode.iterm2
18:05:59 INFO App.swift:124 hideUi()
18:05:59 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
18:05:59 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 1160 iTerm2
18:05:59 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
18:06:00 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2962, "nil")]
18:06:00 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(2962, "nil")]
18:06:00 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
18:06:03 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
0   AltTab                              0x00000001005a0514 $s6AltTab15printStackTraceyyF + 52
1   AltTab                              0x00000001005d8790 $s6AltTab3AppC7restartyyF + 24
2   AltTab                              0x00000001005f7a08 $s6AltTab17PermissionCalloutCACycfcySo9NSControlCcfU_Tf4d_n + 232
3   AltTab                              0x00000001005a5314 $s6AltTab15SelectorWrapperC11callClosure33_4D292EF66C5DE177E827F2ABCC16F457LL6senderyyXl_tF + 112
4   AltTab                              0x00000001005a5360 $s6AltTab15SelectorWrapperC11callClosure33_4D292EF66C5DE177E827F2ABCC16F457LL6senderyyXl_tFTo + 36
5   AppKit                              0x00000001c55625c8 -[NSApplication(NSResponder) sendAction:to:from:] + 460
6   AppKit                              0x00000001c55623c4 -[NSControl sendAction:to:] + 96
7   AppKit                              0x00000001c55622cc __26-[NSCell _sendActionFrom:]_block_invoke + 152
8   AppKit                              0x00000001c55621c0 -[NSCell _sendActionFrom:] + 204
9   AppKit                              0x00000001c55620e4 -[NSButtonCell _sendActionFrom:] + 104
10  AppKit                              0x00000001c555ef30 NSControlTrackMouse + 1752
11  AppKit                              0x00000001c555e82c -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 160
12  AppKit                              0x00000001c555e6a0 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 740
13  AppKit                              0x00000001c555d910 -[NSControl mouseDown:] + 632
14  AppKit                              0x00000001c555bd80 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4528
15  AppKit                              0x00000001c54cf100 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2444
16  AppKit                              0x00000001c54ce50c -[NSWindow(NSEventRouting) sendEvent:] + 348
17  AppKit                              0x00000001c5c7e624 NSMenuWindowManagerMenuItemCarbonEventHandler + 8024
18  HIToolbox                           0x00000001cb40e6c8 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1084
19  HIToolbox                           0x00000001cb40db4c _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 356
20  HIToolbox                           0x00000001cb423e50 SendEventToEventTarget + 40
21  HIToolbox                           0x00000001cb44e638 _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 2520
22  HIToolbox                           0x00000001cb40eb14 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2184
23  HIToolbox                           0x00000001cb40db4c _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 356
24  HIToolbox                           0x00000001cb423e50 SendEventToEventTarget + 40
25  HIToolbox                           0x00000001cb49f3bc _ZL19IsUserStillTrackingP14MenuSelectDataPh + 3604
26  HIToolbox                           0x00000001cb5dd2bc _ZL15TrackMenuCommonR14MenuSelectDataPhP13SelectionDataP10MenuResultS5_ + 1260
27  HIToolbox                           0x00000001cb5d9974 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjjPK4RecttjS4_S4_PK14__CFDictionaryPK10__CFStringPP13OpaqueMenuRefPt + 1668
28  HIToolbox                           0x00000001cb5d8ed4 _ZL26_HandlePopUpMenuSelection8P13OpaqueMenuRefP14OpaqueEventRefj5PointtjjPK4RecttS6_S6_PK14__CFDictionaryPK10__CFStringPS0_Pt + 612
29  HIToolbox                           0x00000001cb48c5a0 _HandlePopUpMenuSelectionWithDictionary + 380
30  AppKit                              0x00000001c57f9bbc SLMPerformPopUpCarbonMenu + 1796
31  AppKit                              0x00000001c569a860 _NSSLMPopUpCarbonMenu3 + 848
32  AppKit                              0x00000001c569a420 -[NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 392
33  AppKit                              0x00000001c5ac021c +[NSStatusBarButtonCell popupStatusBarMenu:ofBar:inRect:ofView:withEvent:] + 400
34  AltTab                              0x00000001005f7d34 $s6AltTab7MenubarC17statusItemOnClickyyFZTf4d_n + 176
35  AppKit                              0x00000001c55625c8 -[NSApplication(NSResponder) sendAction:to:from:] + 460
36  AppKit                              0x00000001c55623c4 -[NSControl sendAction:to:] + 96
37  AppKit                              0x00000001c59dbe54 __NSControlTrackMouse_block_invoke + 60
38  AppKit                              0x00000001c555eb64 NSControlTrackMouse + 780
39  AppKit                              0x00000001c555e82c -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 160
40  AppKit                              0x00000001c555e6a0 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 740
41  AppKit                              0x00000001c5abf578 -[NSStatusBarButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 376
42  AppKit                              0x00000001c555d910 -[NSControl mouseDown:] + 632
43  AppKit                              0x00000001c555bd80 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4528
44  AppKit                              0x00000001c54cf100 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2444
45  AppKit                              0x00000001c54ce50c -[NSWindow(NSEventRouting) sendEvent:] + 348
46  AppKit                              0x00000001c5ac1cd8 -[NSStatusBarWindow sendEvent:] + 836
47  AppKit                              0x00000001c54cd4b4 -[NSApplication(NSEvent) sendEvent:] + 2780
48  AltTab                              0x00000001005a03fc -[AppCenterApplication sendEvent:] + 68
49  AppKit                              0x00000001c57870f4 -[NSApplication _handleEvent:] + 76
50  AppKit                              0x00000001c534f008 -[NSApplication run] + 636
51  AltTab                              0x00000001005a04c8 main + 104
52  dyld                                0x0000000100a0508c start + 520
18:06:07 DEBG PermissionsWindow.swift:32 windowWillClose() true

(I clicked the "Grant Permission" button at the end of the debug run).

I did originally try to capture a log while I went through the same permissions toggling as in the video (ie. doing so for iTerm rather than AltTab itself), although when AltTab restarts itself due to permissions having been altered while running, it obviously just launches from the default location as its own process.

@lwouis
Copy link
Owner

lwouis commented Nov 11, 2024

Thank you @frypf. Unfortunately the video doesn't show the crutial sequence.

Could you please show a video with these steps? We see AltTab launched, then running. Its permission window is shown with all green. It's menubar is clicked and shows purple.

Thank you 🙇

@frypf
Copy link

frypf commented Nov 11, 2024

23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 173 com.apple.loginwindow
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 495 com.apple.dock
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 497 com.apple.systemuiserver
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 496 com.apple.controlcenter
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 498 com.apple.finder
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 556 com.apple.Spotlight
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 473 com.apple.wifi.WiFiAgent
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 665 com.apple.notificationcenterui
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 703 com.apple.TextInputMenuAgent
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 698 com.apple.AirPlayUIAgent
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 715 com.doomlaser.cursorcerer
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1054 com.raycast.macos
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1056 com.bitwarden.desktop
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1051 com.apple.shortcuts.events
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 684 at.obdev.littlesnitch.agent
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1069 com.google.drivefs
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1125 com.apple.universalcontrol
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1147 com.hegenberg.BetterTouchTool
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1176 com.apple.systemevents
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 28402 com.apple.PowerChime
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 64754 com.brave.Browser
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 65210 com.brave.Browser.helper.plugin
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 35184 com.apple.accessibility.universalAccessAuthWarn
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 10605 com.googlecode.iterm2
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 20418 com.apple.security.Keychain-Circle-Notification
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 25894 com.apple.screencaptureui
23:02:43 DEBG Application.swift:76 observeEventsIfEligible() Adding app 26012 com.lwouis.alt-tab-macos
23:02:44 DEBG UserDefaultsEvents.swift:17 handleEvent() Optional("SUAutomaticallyUpdate") false autoCheck
23:02:44 DEBG UserDefaultsEvents.swift:17 handleEvent() Optional("SUEnableAutomaticChecks") false autoCheck
23:02:47 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
23:02:47 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 26012 nil
23:02:47 DEBG Window.swift:67 init() Finder com.apple.finder
23:02:47 DEBG Window.swift:67 init() Brave Browser com.brave.Browser
23:02:47 DEBG Window.swift:57 init() Adding window 4955 mba (-zsh) – [10613]    —    iTerm com.googlecode.iterm2
23:02:47 DEBG Window.swift:71 deinit() Finder com.apple.finder
23:02:47 DEBG Window.swift:71 deinit() Brave Browser com.brave.Browser
23:02:47 DEBG Window.swift:67 init() Brave Browser com.brave.Browser
23:02:47 DEBG Window.swift:67 init() Finder com.apple.finder
23:02:48 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
23:02:48 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
23:02:48 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
23:02:48 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
23:02:48 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
23:02:49 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
23:02:49 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
23:02:49 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
23:02:49 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
23:02:49 INFO ATShortcut.swift:79 executeAction() holdShortcut
23:02:49 INFO App.swift:175 focusTarget() nil Brave Browser 64754 com.brave.Browser
23:02:49 INFO App.swift:124 hideUi()
23:02:49 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
23:02:49 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 64754 Brave
23:02:49 DEBG SpacesEvents.swift:9 handleEvent() NSWorkspaceActiveSpaceDidChangeNotification
23:02:49 INFO SpacesEvents.swift:12 handleEvent() current space 3 182
23:02:49 DEBG Window.swift:57 init() Adding window 4662 Permission callout shown even though permissions are granted · Issue #3801 · lwouis/alt-tab-macos - Brave com.brave.Browser
23:02:50 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
23:02:50 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26225, "nil")]
23:02:50 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26225, "nil")]
23:02:50 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
23:02:50 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
23:02:50 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
23:02:50 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
23:02:50 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
23:02:50 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
23:02:50 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
23:02:51 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
23:02:51 INFO ATShortcut.swift:79 executeAction() holdShortcut
23:02:51 INFO App.swift:175 focusTarget() 4955 mba (AltTab) – [26012]    —    iTerm 10605 com.googlecode.iterm2
23:02:51 INFO App.swift:124 hideUi()
23:02:51 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
23:02:51 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 10605 iTerm2
23:02:51 DEBG SpacesEvents.swift:9 handleEvent() NSWorkspaceActiveSpaceDidChangeNotification
23:02:51 INFO SpacesEvents.swift:12 handleEvent() current space 1 5
23:02:51 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26332, "nil")]
23:02:51 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26332, "nil")]
23:02:51 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
23:02:51 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26361, "com.apple.DiagnosticsReporter")]
23:02:51 DEBG Application.swift:76 observeEventsIfEligible() Adding app 26361 com.apple.DiagnosticsReporter
23:02:51 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26361, "com.apple.DiagnosticsReporter")]
23:02:51 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
23:02:53 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
23:02:55 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
23:02:55 DEBG AccessibilityEvents.swift:7 AltTab() AXMainWindowChanged
23:02:55 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 26012 AltTab needs some permissions
23:02:55 INFO AccessibilityEvents.swift:15 handleEvent() AXMainWindowChanged 26012 AltTab needs some permissions
23:02:55 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
23:02:55 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 26012 AltTab needs some permissions
23:02:55 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
23:02:55 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 26012 AltTab
23:02:55 DEBG Window.swift:57 init() Adding window 5108 AltTab needs some permissions com.lwouis.alt-tab-macos
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:55 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26475, "nil")]
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:55 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26475, "nil")]
23:02:55 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:55 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:56 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:57 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:58 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:02:59 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:00 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
23:03:01 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 26012 AltTab needs some permissions
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26626, "com.apple.DiagnosticsReporter")]
23:03:01 DEBG Application.swift:76 observeEventsIfEligible() Adding app 26626 com.apple.DiagnosticsReporter
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(26626, "com.apple.DiagnosticsReporter")]
23:03:01 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:01 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:02 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
23:03:03 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 25894
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:03 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:04 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:05 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:06 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:06 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:06 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
23:03:06 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
23:03:06 DEBG SystemPermissions.swift:84 checkPermissionsToUpdatePermissionsWindow() granted granted true
23:03:06 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 25894 Screenshot
23:03:06 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 25894 Screenshot
Screen.Recording.2024-11-11.at.23.02.39.mp4

@michkozak
Copy link

The purple callout exists so that people who check the checkbox to skip SR permissions know that they did, later on. It's easy for an impatient user to check that box to "get the app to work", and later on complain that the thumbnails are not showing. This callout reminds users that they run in a degraded mode, and can decide to upgrade by granting the missing permission.

I feel like I'm missing something here. Wasn't the issue that the purple callout is still showing even when you grant the Screen Recording permissions? Not that it's still showing when you deny it, to act as a reminder.

Unfortunately, the former still persists, even in the new v7.3.0. I can switch between granting and denying the Screen Recording permissions all day and no matter what I do — the purple callout is still showing 👍🏻.

@frypf
Copy link

frypf commented Nov 12, 2024

I feel like I'm missing something here. Wasn't the issue that the purple callout is still showing even when you grant the Screen Recording permissions? Not that it's still showing when you deny it, to act as a reminder.

Yes @michkozak (and apologies @lwouis for polluting the issue scope / making you have to explain). Having never seen the callout or been aware of the option to deny SR permission prior to this issue, I wasn't clear on what the actual intended behaviour was.

@lwouis
Copy link
Owner

lwouis commented Nov 12, 2024

@frypf Thank you for the great video!

indeed, we see the OP issue in your video. The permissions are correctly detected as granted. We see it clearly at 0:17.

I boggles my mind how the callout can show.

Yours logs show granted, granted, true. Here are the lines of code involved. Hidding the callout is literally the next line:

logger.d(accessibility, screenRecording, preStartupPermissionsPassed)
Menubar.permissionCalloutMenuItems?.forEach {
    $0.isHidden = screenRecording != .skipped // here screenRecording is .granted, so this evaluates to true
}

Could you please try out this build with additional logs?

Could you please do the same steps as in the previous video and share the logs here?

Thank you 🙇

@frypf
Copy link

frypf commented Nov 12, 2024

21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 173 com.apple.loginwindow
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 495 com.apple.dock
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 497 com.apple.systemuiserver
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 496 com.apple.controlcenter
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 498 com.apple.finder
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 556 com.apple.Spotlight
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 473 com.apple.wifi.WiFiAgent
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 665 com.apple.notificationcenterui
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 703 com.apple.TextInputMenuAgent
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 698 com.apple.AirPlayUIAgent
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 715 com.doomlaser.cursorcerer
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1054 com.raycast.macos
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1056 com.bitwarden.desktop
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1051 com.apple.shortcuts.events
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 684 at.obdev.littlesnitch.agent
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1069 com.google.drivefs
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1125 com.apple.universalcontrol
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 1176 com.apple.systemevents
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 28402 com.apple.PowerChime
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 64754 com.brave.Browser
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 65210 com.brave.Browser.helper.plugin
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 35184 com.apple.accessibility.universalAccessAuthWarn
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 68880 com.googlecode.iterm2
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 89396 com.hegenberg.BetterTouchTool
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 94982 com.apple.security.Keychain-Circle-Notification
21:58:46 DEBG Application.swift:76 observeEventsIfEligible() Adding app 7067 com.lwouis.alt-tab-macos
21:58:47 DEBG UserDefaultsEvents.swift:17 handleEvent() Optional("SUAutomaticallyUpdate") false autoCheck
21:58:47 DEBG UserDefaultsEvents.swift:17 handleEvent() Optional("SUEnableAutomaticChecks") false autoCheck
21:58:49 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
21:58:49 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 7067 nil
21:58:50 DEBG Window.swift:67 init() Finder com.apple.finder
21:58:50 DEBG Window.swift:67 init() Brave Browser com.brave.Browser
21:58:50 DEBG Window.swift:57 init() Adding window 6041 mba (-zsh) – [68903]    —    iTerm com.googlecode.iterm2
21:58:50 DEBG Window.swift:71 deinit() Finder com.apple.finder
21:58:50 DEBG Window.swift:71 deinit() Brave Browser com.brave.Browser
21:58:50 DEBG Window.swift:67 init() Finder com.apple.finder
21:58:50 DEBG Window.swift:67 init() Brave Browser com.brave.Browser
21:58:51 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
21:58:51 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:58:51 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:58:52 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
21:58:53 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
21:58:53 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
21:58:53 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
21:58:53 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
21:58:53 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
21:58:53 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
21:58:54 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
21:58:54 INFO ATShortcut.swift:79 executeAction() holdShortcut
21:58:54 INFO App.swift:175 focusTarget() nil Brave Browser 64754 com.brave.Browser
21:58:54 INFO App.swift:124 hideUi()
21:58:54 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
21:58:54 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 64754 Brave
21:58:54 DEBG SpacesEvents.swift:9 handleEvent() NSWorkspaceActiveSpaceDidChangeNotification
21:58:54 INFO SpacesEvents.swift:12 handleEvent() current space 3 231
21:58:54 DEBG Window.swift:57 init() Adding window 6004 Permission callout shown even though permissions are granted · Issue #3801 · lwouis/alt-tab-macos - Brave com.brave.Browser
21:58:54 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(256) false
21:58:54 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7301, "nil")]
21:58:54 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7301, "nil")]
21:58:54 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
21:58:54 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.down) nil nil false
21:58:54 INFO ATShortcut.swift:79 executeAction() nextWindowShortcut
21:58:54 DEBG App.swift:272 showUiOrCycleSelection() 0 0 true
21:58:54 DEBG KeyboardEvents.swift:136 handleEvent() Optional(__C.EventHotKeyID(signature: 1634497652, id: 0)) Optional(AltTab.ShortcutState.up) nil nil false
21:58:54 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
21:58:54 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
21:58:54 DEBG Window.swift:71 deinit() Brave Browser com.brave.Browser
21:58:55 DEBG KeyboardEvents.swift:136 handleEvent() nil nil nil Optional(0) false
21:58:55 INFO ATShortcut.swift:79 executeAction() holdShortcut
21:58:55 INFO App.swift:175 focusTarget() 6041 mba (AltTab) – [7067]    —    iTerm 68880 com.googlecode.iterm2
21:58:55 INFO App.swift:124 hideUi()
21:58:55 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
21:58:55 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 68880 iTerm2
21:58:55 DEBG SpacesEvents.swift:9 handleEvent() NSWorkspaceActiveSpaceDidChangeNotification
21:58:55 INFO SpacesEvents.swift:12 handleEvent() current space 1 5
21:58:55 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7390, "nil")]
21:58:55 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7390, "nil")]
21:58:55 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
21:58:56 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
21:58:56 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:58:56 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:58:56 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7429, "com.apple.DiagnosticsReporter")]
21:58:56 DEBG Application.swift:76 observeEventsIfEligible() Adding app 7429 com.apple.DiagnosticsReporter
21:58:56 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7429, "com.apple.DiagnosticsReporter")]
21:58:56 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
21:58:59 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
21:58:59 DEBG AccessibilityEvents.swift:7 AltTab() AXMainWindowChanged
21:58:59 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 7067 AltTab needs some permissions
21:58:59 INFO AccessibilityEvents.swift:15 handleEvent() AXMainWindowChanged 7067 AltTab needs some permissions
21:58:59 DEBG AccessibilityEvents.swift:7 AltTab() AXWindowCreated
21:58:59 INFO AccessibilityEvents.swift:15 handleEvent() AXWindowCreated 7067 AltTab needs some permissions
21:58:59 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
21:58:59 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 7067 AltTab
21:58:59 DEBG Window.swift:57 init() Adding window 6503 AltTab needs some permissions com.lwouis.alt-tab-macos
21:58:59 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7533, "nil")]
21:58:59 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7533, "nil")]
21:58:59 DEBG Application.swift:43 deinit() Deinit app file:///usr/bin/osascript/
21:58:59 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:58:59 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:00 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
21:59:01 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:59:01 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:01 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:02 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:03 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:04 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:05 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG AccessibilityEvents.swift:7 AltTab() AXFocusedWindowChanged
21:59:06 INFO AccessibilityEvents.swift:15 handleEvent() AXFocusedWindowChanged 7067 AltTab needs some permissions
21:59:06 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7696, "com.apple.DiagnosticsReporter")]
21:59:06 DEBG Application.swift:76 observeEventsIfEligible() Adding app 7696 com.apple.DiagnosticsReporter
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:61 checkPermissionsWhileAltTabIsRunning() granted granted true
21:59:06 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:59:06 DEBG SystemPermissions.swift:64 checkPermissionsWhileAltTabIsRunning() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG RunningApplicationsEvents.swift:17 handleEvent() [(7696, "com.apple.DiagnosticsReporter")]
21:59:06 DEBG Application.swift:43 deinit() Deinit app com.apple.DiagnosticsReporter
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:06 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:07 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:08 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG AccessibilityEvents.swift:7 AltTab() AXApplicationActivated
21:59:09 DEBG SystemPermissions.swift:85 checkPermissionsToUpdatePermissionsWindow() granted granted true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 DEBG SystemPermissions.swift:88 checkPermissionsToUpdatePermissionsWindow() true true
21:59:09 INFO AccessibilityEvents.swift:15 handleEvent() AXApplicationActivated 68880 iTerm2

@lwouis
Copy link
Owner

lwouis commented Nov 14, 2024

Thank you @frypf

This logs confirms that:

  • The permission is detected as granted
  • The callout menu isHidden is set to true

I'm at a loss now. Why is it that we set the callout to be hidden, and it works for most people, but somehow it fails to hide for a select few people?

I don't know how to dig further. This looks like an AppKit bug. We ask AppKit to hide the element. If it's not hidden, what else can we do?

I'm at a loss 😕

@frypf
Copy link

frypf commented Nov 14, 2024

Yeah glancing over the logs and before I posted them, I figured the succession of granteds & trues probably meant there was nothing obvious happening. I should note that I've now also installed v7.3.0 on a Ventura machine and am witnessing the same behaviour. No idea what is common to my 2 setups but missing from so many others not seeing this issue. The only non-standard thing I can think of is SIP disabled.

Given you mentioned a potential AppKit bug, I guess this was in-part my gripe about the presence of the callout at all. It just looks a bit janky to my eyes and not something I would expect to see inside a menubar menu, although that's down to decisions on Apple's part rather than yours.

@lwouis
Copy link
Owner

lwouis commented Nov 14, 2024

From this StackOverflow thread, people seemed to have faced the same issue.

I implemented the solution from their update 4.

@frypf could you please try out this build and let me know if it fixes the issue for you?

Thank you

@frypf
Copy link

frypf commented Nov 14, 2024

Yes that seems to have done the trick! 👍👏

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.

Anyway, TL;DR:
This seems to have fixed the issue at hand, although it unearthed a much more esoteric issue which would presumably only come up when a user is particularly prone to changing their mind or specifically trying to do things out-of-order.

@lwouis
Copy link
Owner

lwouis commented Nov 14, 2024

Thank you @frypf! I'll ship the fix in the next release, coming up soon.

Could you please open a new ticket for the new issue? A video would really help here. The behavior seems tricky. Also, I can't find the any v7.3.0 crash report in AppCenter. I'm surprised since you said you sent them.

Thank you 🙇

@lwouis lwouis closed this as completed in 9585c92 Nov 16, 2024
github-actions bot pushed a commit that referenced this issue Nov 16, 2024
# [7.4.0](v7.3.0...v7.4.0) (2024-11-16)

### Bug Fixes

* permission callout could show even with permission granted ([9585c92](9585c92)), closes [#3801](#3801)

### Features

* better switcher max-width at various monitor sizes ([49178b5](49178b5))
* improve ar, de, el, hu, it, ko, pt localizations ([c4f98a1](c4f98a1))
@michkozak
Copy link

7.4.0 resolved the issue for me, callout is no longer showing if I grant AltTab Screen Recording permissions.

Thank you 🙏🏻.

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

9 participants