Community
Participate
Working Groups
Characters that require the <Alt Gr> key (like Euro symbol or @ when using a German Keyboard) cannot be generated/sent using the Display.post() method. On Windows, this can be worked around by using <CTRL>+<ALT> instead of <Alt Gr> - but on Linux (GTK) this has no effect. It appears some SWT constant mapping to ISO_Level3_Shift (0xfe03) would be required in order to be able to send such characters using Display.post(Event)
Is this still an issue? Do you have a snippet which reproduces the issue?
Created attachment 274055 [details] snippet
Yes, the issue still exists. Basically it comes down to the fact that there is no SWT.ALT_GR constant we could use. Under windows, we can work around this by using SWT.CTRL + SWT.ALT, but under Linux, this has no effect (see attached snippet - under Windows, it produces "Love the method. @", under Linux (Ubuntu 16.04.4 LTS), it produces "Love the method. ")
(In reply to Michael Seele from comment #3) > Yes, the issue still exists. > Basically it comes down to the fact that there is no SWT.ALT_GR constant we > could use. > Under windows, we can work around this by using SWT.CTRL + SWT.ALT, but > under Linux, this has no effect (see attached snippet - under Windows, it > produces "Love the method. @", under Linux (Ubuntu 16.04.4 LTS), it produces > "Love the method. ") I can reproduce this behaviour, thanks for the snippet.
New Gerrit change created: https://git.eclipse.org/r/124862
Gerrit change https://git.eclipse.org/r/124862 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=3bf5e22438ca9d3c26eb07f25f363fdcf8344257
*** Bug 280824 has been marked as a duplicate of this bug. ***
New Gerrit change created: https://git.eclipse.org/r/125160
(In reply to Eclipse Genie from comment #8) > New Gerrit change created: https://git.eclipse.org/r/125160 This fixes the new API error, see bug 536384 comment 7. @Xi: please install API tooling in your IDE and set baseline to 4.8.
Gerrit change https://git.eclipse.org/r/125160 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=17e6d6742db0f4ebf72eb99021ec27fd4a0b5c98
Thanks for the API tools fix Andrey. Adding Lakshmi and Niraj to CC: we have a new constant (ALT_GR) for German (possibly other European) keyboard layouts. Please implement (if possible) on Cocoa and Win32.
New Gerrit change created: https://git.eclipse.org/r/125273
Gerrit change https://git.eclipse.org/r/125273 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=93012c1cb96882f2941c419af8d9a4b69d7100be
(In reply to Eric Williams from comment #11) > Thanks for the API tools fix Andrey. > > Adding Lakshmi and Niraj to CC: we have a new constant (ALT_GR) for German > (possibly other European) keyboard layouts. Please implement (if possible) > on Cocoa and Win32. Opened Bug 536951 to track this and have set the helpwanted flag.
(In reply to Eclipse Genie from comment #13) > Gerrit change https://git.eclipse.org/r/125273 was merged to [master]. > Commit: > http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=93012c1cb96882f2941c419af8d9a4b69d7100be > Hi Eric, I see that the entry has been added to platform.html. New APIs are added to platform_isv.html. Can you please move the entry there?
New Gerrit change created: https://git.eclipse.org/r/126491
Gerrit change https://git.eclipse.org/r/126491 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=e6f0095f222aa5cfca7ff428ed6ff8f8868bd691