Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Overwriting shortcut warning only partially working #142

Open
dataexcess opened this issue Apr 9, 2020 · 3 comments
Open

Overwriting shortcut warning only partially working #142

dataexcess opened this issue Apr 9, 2020 · 3 comments

Comments

@dataexcess
Copy link

Hello,

First of thanks for the awesome library.
I am experiencing issues when trying to set a shortcut for my MASShortcutView.

When I try to set "command-n" it correctly displays the following warning:
This shortcut cannot be used because it is already used by the menu item ‘New’.
When I try "command-shift-n" it does not complain, and the shortcut is set. But that combination is also used by Finder, why did it not detect that? The same goes for other shortcuts, such as "alt-command-L" etc.

Thank you for clarifying.

All the best,
J

@Kentzo
Copy link

Kentzo commented Apr 9, 2020

Neither shortcut is global: they are handled only when the Finder application is active. It's impossible (without employing intrusive malware-alike actions) to determine shortcuts used by other apps.

@shpakovski
Copy link
Collaborator

Thanks @Kentzo 👍

@dataexcess
Copy link
Author

Ok @Kentzo thank you for clarifying. I guess the command+n shortcut overwrite was originating from the hidden menu in my own application and I mistook it for finder's command.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants