Could Avalonia provide the global hotkey service? that will work when the window is hidden. #16266
TheBetterSolution
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
You may want to check out https://github.com/TolikPylypchuk/SharpHook |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Avalonia team:
I think there are more applications need to handle the hotkey even if the window is hidden, because that's easy to use only the hotkey to do the work, that's dependent for the platform, for example, windows use the RegisterHotKey and WM_HOTKEY to provide this function, but implementation of MacOS/Linux is different.
Currently, we need to develop the code to implement it, please refer to:
#8823
Because this feature is good for the applications to improve user experiences, for example: bring up window from hidden state, or do common functions no need UI etc, could you please provide this feature?
Thanks very much.
Beta Was this translation helpful? Give feedback.
All reactions