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

Shortcuts not working when NSMenu is active? #117

Open
kainjow opened this issue Dec 19, 2017 · 2 comments
Open

Shortcuts not working when NSMenu is active? #117

kainjow opened this issue Dec 19, 2017 · 2 comments

Comments

@kainjow
Copy link
Contributor

kainjow commented Dec 19, 2017

We're seeing an issue where a registered shortcut does not get called until after a popup button's menu is dismissed.

This sounds like the same or very similar issue: shortcutrecorder/shortcutrecorder#45

Any known issues or workarounds regarding shortcuts and menus?

@gee1k
Copy link

gee1k commented Dec 25, 2019

If you have menu items with the same function in your menu, you can bind the same shortcut keys to the menu items. And bind or unbind global shortcuts when the menu is opened or closed.

image
image
image

@gee1k
Copy link

gee1k commented Dec 25, 2019

final effect:

2019-12-25 10-58-24 2019-12-25 10_59_33

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

2 participants