sghpjuikit / player

Audio player and management application.
22 stars 2 forks source link

Disabling global shortcuts on Linux crashes the application silently #57

Closed xeruf closed 6 years ago

xeruf commented 6 years ago

The issue I encountered is already reported on jnativehook: https://github.com/kwhat/jnativehook/issues/200

When disabling global shortcuts in the settings, I have found that the call to GlobalScreen.unregisterNativeHook() in Hotkeys.stop() silently terminates the application, no stacktrace, no exception, just instantly dead.

xeruf commented 6 years ago

This is also the reason why the application for me always exits with exit code 1.

sghpjuikit commented 6 years ago

Once again, it appears it does work on my Mint OS. Does reverting jnativehook to a 2.0.1 help?

sghpjuikit commented 6 years ago

In case reverting to older build does not help, I suggest defaulting using global hotkeys on Linux to false and only allowing them with a warning (or not at all). Before doing any change I need to know if this can be adequately fixed somehow, does older lib produce this problem for you?

sghpjuikit commented 6 years ago

@Xerus2000, you have reverted jnativehook to 2.0.2. Can this issue be closed now?

xeruf commented 6 years ago

a2a8f935a6f5574fd8dd226b14e7686169cbc8fa