Alt Key on Linux not working

the AltKey flag of the ModifierKeys class is never set, even when (left/right) alt key is pressed.

getCurrentModifiersRealtime() doesn't work too

I'm using an Arch Linux with Gnome 3

any idea what the issue could be?

Just checking - lots of drivers before JUCE gets to see things, have you checked that other apps can read ALT's state?

e.g. http://superuser.com/questions/248517/show-keys-pressed-in-linux

 

xev receives fine signals for ALT_L and ALT_R

I checked on another Linux machine but it has the same issue

something else I can test or provide information to you?

I think I can have a look at the code myself. Could you point me to a place where it would be good to start searching for the error?