eclipse.platform.swt icon indicating copy to clipboard operation
eclipse.platform.swt copied to clipboard

[gtk] Alt Gr not recognized

Open laeubi opened this issue 3 years ago • 3 comments

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.

laeubi avatar Apr 25 '22 15:04 laeubi

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

laeubi avatar Apr 25 '22 15:04 laeubi

If this one is still relevant would you please attach a snippet to demo the problem?

akurtakov avatar Mar 27 '25 12:03 akurtakov

Its quite some time, I need to check this.

laeubi avatar Mar 27 '25 13:03 laeubi