beoplay-macos-remote-gui icon indicating copy to clipboard operation
beoplay-macos-remote-gui copied to clipboard

Hotkeys are disabled when the menu is open

Open tlk opened this issue 4 years ago • 0 comments

Hotkeys should work when the menu is open, but they do not.

Currently, hotkeys are disabled/enabled when the menu is opened/closed. This workaround is used because otherwise keypresses are queued up while the menu is open and then being processed all-at-once after the menu closes.

I am not sure why or where the events are being queued and I do not understand the root cause of this issue. The hotkey library being used is this: https://github.com/soffes/HotKey/

I have been experimenting with another workaround based on hidden-but-enabled menu-items with corresponding keyboard shortcuts. This works, although the menu closes immediately on keypress.

tlk avatar Sep 25 '20 14:09 tlk