[gtk] Alt Gr not recognized
Originally reported here https://bugs.eclipse.org/bugs/show_bug.cgi?id=573274
I have an Event handler (reacting to mouse move/click) and add the following:
System.out.println(event.stateMask + " --> " + (event.stateMask & SWT.MODIFIER_MASK));
the result is always 0 if I hold down the 'Alt Gr' key. Pressing Alt, Strg, Shift results in a non null value as expected.
Interestingly event.stateMask is 0 for mouse move and 524288 for mouse clicks.
Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
ii libgtk-3-0:amd64 3.24.5-1 amd64 GTK+ graphical user interface library
ii libgtk-3-0:i386 3.24.5-1 i386 GTK+ graphical user interface library
ii libgtk2.0-0:amd64 2.24.32-3 amd64 GTK+ graphical user interface library
ii libgtk2.0-0:i386 2.24.32-3 i386 GTK+ graphical user interface library
If this one is still relevant would you please attach a snippet to demo the problem?
Its quite some time, I need to check this.