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

App quits as soon as I press cmd #445

Closed
alt-tab-macos-bot opened this issue Jul 20, 2020 · 8 comments
Closed

App quits as soon as I press cmd #445

alt-tab-macos-bot opened this issue Jul 20, 2020 · 8 comments
Labels
bug Something isn't working unclear Need help from the author to provide more information to flesh out the issue unreproducible Need help from the author to reproduce the issue

Comments

@alt-tab-macos-bot
Copy link

alt-tab-macos-bot commented Jul 20, 2020

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

From: [email protected]

Message:

The app quits as soon as I press CMD.

Debug profile

  • App version: 4.6.0
  • App preferences:
    • NSStatusItem Preferred Position Item-0: 388
    • NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName: 1491 479 549 551 0 0 2560 1417
    • SUHasLaunchedBefore: 1
    • SULastCheckTime: 2020-07-20 13:47:19 +0000
    • holdShortcut: ⌘
    • preferencesVersion: 4.6.0
    • theme: 0
  • Applications: 115
  • Windows: 0
  • OS version: Version 10.15.6 (Build 19G73)
  • OS architecture: x86_64
  • Locale: en_NL (current)
  • Spaces: 2
  • Dark mode: Light
  • "Displays have separate Spaces": checked
  • Hardware model: iMac19,1
  • Screens: 1
    • {x: 0.0, y: 0.0, width: 2560.0, height: 1440.0}
  • CPU model: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
  • Memory size: 34,36 GB
  • Active CPU count: 6
  • Current CPU frequency: 3.0 Ghz
  • Resource utilization:
    • CPU: 0.0%
    • Memory: 54M+
    • Threads count: 13

@lwouis
Copy link
Owner

lwouis commented Jul 20, 2020

Hi!

Could you please provide a little more information? That would help understand and investigate the issue.

So you remapped the default shortcut to cmd-tab instead of alt-tab, then when you press cmd it crashes? Or did you keep the default shortcut?

Could you please share the crash report?

Open Console.app, search for AltTab in the Crash Report section:

Screen Shot 2020-07-20 at 21 15 13

Right-click on the line for the crash you want to share, then "Reveal in Finder":

Screen Shot 2020-07-20 at 21 16 18

You can then share the file here. I suggest compressing it into a .zip first

@lwouis lwouis added bug Something isn't working unclear Need help from the author to provide more information to flesh out the issue unreproducible Need help from the author to reproduce the issue labels Jul 20, 2020
@lwouis lwouis changed the title [In-app feedback] App quits as soon as I press cmd Jul 20, 2020
@distrob
Copy link

distrob commented Jul 21, 2020

Hi, yes I've remapped the shortcut keys. Attached is my crash report. Thanks!

AltTab_2020-07-20-152500_iMac.crash.zip

@lwouis
Copy link
Owner

lwouis commented Jul 21, 2020

Hi @distrob! Thanks for sharing the crash report. I'll look at it now.

Note that you unchecked the "Send debug report" checkbox when you sent your original message. That report is very useful for us to investigate the issue. It would have told us for example: which version of AltTab you are running (maybe the issue is already fixed in a more recent version), which customizations you used for the shortcuts, which macOS version you are running (some issues only happen in older macOS versions), etc.

If you can, please use the Feedback form again, and keep the checkbox checked this time. I'll merge the 2 tickets, but that way we have the debug profile here to facilitate the investigation 👍

@distrob
Copy link

distrob commented Jul 21, 2020

Ok, I've just sent a new one!

@distrob
Copy link

distrob commented Jul 24, 2020

Any news on this?

@lwouis
Copy link
Owner

lwouis commented Jul 25, 2020

Hi @distrob! You can see the current investigation in the ticket linked just above your last comment. It is a deeply complex situation as it seems that some code crashes when run on a thread which is not the main thread. This is not at all documented by Apple, and I don't know how we should deal with this limitation as we relly on background threads to get a snappy/responsive UX in AltTab

@lwouis
Copy link
Owner

lwouis commented Aug 14, 2020

The next major release of AltTab will probably fix this as shortcuts will be back on the main thread (unfortunately)

@distrob
Copy link

distrob commented Aug 17, 2020

It works super fine now, having updated to the latest release. Amazing app, thanks!

@lwouis lwouis closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unclear Need help from the author to provide more information to flesh out the issue unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests

3 participants