[GH-ISSUE #21] Crashed when I asked to display icon in dock #21

Closed
opened 2026-05-05 04:43:53 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @gitfoxi on GitHub (Apr 3, 2015).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/21

See my comment in #1. When I selected Display keycastr icon in the dock before I had dragged the program into the dock from the finder keycastr crashed immediately and I had to track down and delete its Plist file before it would start again.

When it crashed and wouldn't start it gave me a message similar to the message it gave me before I enabled key caster in the accessibility security preferences.

Originally created by @gitfoxi on GitHub (Apr 3, 2015). Original GitHub issue: https://github.com/keycastr/keycastr/issues/21 See my comment in #1. When I selected Display keycastr icon in the dock before I had dragged the program into the dock from the finder keycastr crashed immediately and I had to track down and delete its Plist file before it would start again. When it crashed and wouldn't start it gave me a message similar to the message it gave me before I enabled key caster in the accessibility security preferences.
Author
Owner

@akitchen commented on GitHub (Apr 4, 2015):

I tried this (on Yosemite) and it didn't crash. What version of OS X are you on? Can you open Console.app and see if there is a crash log?

This change in the preferences does cause the app to prompt you to allow it to restart, which could also have been confused with a crash.

This feature might not be possible on modern OS X; I would vote we remove the option select list from the preferences pane and display the icon in the menu bar by default. The user needs to drag it to the dock if desired.

<!-- gh-comment-id:89463857 --> @akitchen commented on GitHub (Apr 4, 2015): I tried this (on Yosemite) and it didn't crash. What version of OS X are you on? Can you open Console.app and see if there is a crash log? This change in the preferences does cause the app to prompt you to allow it to restart, which could also have been confused with a crash. This feature might not be possible on modern OS X; I would vote we remove the option select list from the preferences pane and display the icon in the menu bar by default. The user needs to drag it to the dock if desired.
Author
Owner

@akitchen commented on GitHub (Apr 4, 2015):

On second thought, we shouldn't remove this, since the "display in dock" option is what causes KeyCastr to also show up in the cmd-tab list of active applications. Perhaps this option needs a better name.

<!-- gh-comment-id:89475294 --> @akitchen commented on GitHub (Apr 4, 2015): On second thought, we shouldn't remove this, since the "display in dock" option is what causes KeyCastr to also show up in the cmd-tab list of active applications. Perhaps this option needs a better name.
Author
Owner

@gitfoxi commented on GitHub (Apr 4, 2015):

I am up-to-date with my OS X versions like you are. ~/Library/Logs/DiagnosticReports does not contain any crash dumps. I might've used the wrong word. It doesn't crash. It pops a box saying that it has detected a horrible situation that it thinks has to do with security preferences and that it's going to shutdown and then it does.

I find that I am still able to reproduce the issue when I select "in the dock".

<!-- gh-comment-id:89491295 --> @gitfoxi commented on GitHub (Apr 4, 2015): I am up-to-date with my OS X versions like you are. `~/Library/Logs/DiagnosticReports` does not contain any crash dumps. I might've used the wrong word. It doesn't crash. It pops a box saying that it has detected a horrible situation that it thinks has to do with security preferences and that it's going to shutdown and then it does. I find that I am still able to reproduce the issue when I select "in the dock".
Author
Owner

@gitfoxi commented on GitHub (Apr 4, 2015):

And since I can reproduce it I might as well give you the exact error message.

screen shot 2015-04-03 at 7 57 09 pm

<!-- gh-comment-id:89491418 --> @gitfoxi commented on GitHub (Apr 4, 2015): And since I can reproduce it I might as well give you the exact error message. ![screen shot 2015-04-03 at 7 57 09 pm](https://cloud.githubusercontent.com/assets/584005/6991215/b909ca62-da3b-11e4-9290-b558e5645816.png)
Author
Owner

@akitchen commented on GitHub (Apr 4, 2015):

This is not a crash - this is expected. KeyCastr is telling you that you need to grant it permission.

To do this, visit the Security & Privacy preferences pane, and open the Privacy tab. Select "Accessibility"in the left menu and unlock the preferences pane if it is locked. Then drag your copy of KeyCastr into the list of applications "allowed to control your computer".

This is required in order for KeyCastr to catch keyboard events.

<!-- gh-comment-id:89497205 --> @akitchen commented on GitHub (Apr 4, 2015): This is not a crash - this is expected. KeyCastr is telling you that you need to grant it permission. To do this, visit the Security & Privacy preferences pane, and open the Privacy tab. Select "Accessibility"in the left menu and unlock the preferences pane if it is locked. Then drag your copy of KeyCastr into the list of applications "allowed to control your computer". This is required in order for KeyCastr to catch keyboard events.
Author
Owner

@akitchen commented on GitHub (Apr 4, 2015):

screen shot 2015-04-03 at 9 04 45 pm

<!-- gh-comment-id:89497260 --> @akitchen commented on GitHub (Apr 4, 2015): ![screen shot 2015-04-03 at 9 04 45 pm](https://cloud.githubusercontent.com/assets/378648/6991368/192a251e-da45-11e4-9801-39ec31898b0b.png)
Author
Owner

@gitfoxi commented on GitHub (Apr 4, 2015):

I know what it looks like but that's not it. I did grant permission and I've been using it all day. It's when I change that setting that it gives me the message as if I had not granted permissions which I definitely did.

<!-- gh-comment-id:89503617 --> @gitfoxi commented on GitHub (Apr 4, 2015): I know what it looks like but that's not it. I did grant permission and I've been using it all day. It's when I change that setting that it gives me the message as if I had not granted permissions which I definitely did.
Author
Owner

@akitchen commented on GitHub (Apr 4, 2015):

I've run into this issue before when upgrading or switching between development and released versions. It is normal. You will need to drag your current copy into that pane. Perhaps there is more than one copy of the app on your computer?

On Apr 3, 2015, at 21:47, Michael Fox notifications@github.com wrote:

I know what it looks like but that's not it. I did grant permission and I've been using it all day. It's when I change that setting that it gives me the message as if I had not granted permissions which I definitely did.


Reply to this email directly or view it on GitHub.

<!-- gh-comment-id:89503684 --> @akitchen commented on GitHub (Apr 4, 2015): I've run into this issue before when upgrading or switching between development and released versions. It is normal. You will need to drag your current copy into that pane. Perhaps there is more than one copy of the app on your computer? > On Apr 3, 2015, at 21:47, Michael Fox notifications@github.com wrote: > > I know what it looks like but that's not it. I did grant permission and I've been using it all day. It's when I change that setting that it gives me the message as if I had not granted permissions which I definitely did. > > — > Reply to this email directly or view it on GitHub.
Author
Owner

@L8D commented on GitHub (Apr 29, 2015):

BTW, I'm getting the same issue described by @gitfoxi
It works fine, except when I tell it to go to the dock, it crashes and displays the same error until I reinstall.

<!-- gh-comment-id:97584722 --> @L8D commented on GitHub (Apr 29, 2015): BTW, I'm getting the same issue described by @gitfoxi It works fine, except when I tell it to go to the dock, it crashes and displays the same error until I reinstall.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#21
No description provided.