golang-design/hotkey

[Windows] Unregister requires hotkey press to complete

ventsislav-georgiev opened this issue · 3 comments

I hit this issue and then I saw that it is noted in the code:

// KNOWN ISSUE: This message loop need to press an additional

Posting here for visibility.

https://github.com/golang-design/hotkey/releases/tag/v0.3.0 should have resolved all observable issues.

Thanks! Properly unregisters now for Windows.

On another note, I noticed that on Mac the runOnMain for register is no longer required. The hotkeys can be registered from any goroutine. I guess the proposal in the fyne repo is redundant then?

I guess the proposal in the fyne repo is redundant then?

That's not true. The proposal can also help platforms such as iOS or Android, which are not covered in our case. Any calls that require mainthread, not necessarily on macOS, could benifit from that.