Community
Participate
Working Groups
M3 build, from Eclipse Corner: > as of today I have a pretty anoying "bug" in Eclipse. Namely I can't type > "{" and "}" anymore. > This is M3 on OS X 10.2.2 with Java 1.3.1 on a german keyboard ({ = > <opt>-8 etc.) A follow-up: > I've got the same problem on danish keyboards but if I hold down the > apple key too i works. I've haven't got around to look at why .. Note that bug 24493 was fixed in M3, which could be related since it addresses a similar issue for the other platforms.
Steve to investigate and advise
*** Bug 25366 has been marked as a duplicate of this bug. ***
*** Bug 26761 has been marked as a duplicate of this bug. ***
*** Bug 26778 has been marked as a duplicate of this bug. ***
Reassigning this bug to Andre because we do not have a German keyboard for the Mac.
On MacOS some ISO characters can only be entered by using the 'alt' modifier or both the 'alt' and 'command' modifiers. On non-US keyboards this applies even for frequently used characters like '{', '}', '#'. Note: the problem can be reproduced even if you don't have a non-US keyboard: just add the German keyboard layout to your input menu (System Preferences/International/ Input Menu), switch to German kbd layout, and try to enter a '{' with 'alt'-8. Since StyledText.handleKey filters all key combination containing the 'alt' modifier, it is not possible to enter '{', '}', '#'. However, key combination containing 'alt' AND 'control' are not ignored because this modifier combination is used on Windows to enter special characters. So I propose to add similiar special cases for 'alt' and 'alt'+'command' for the Macintosh platform. An ugly workaround would be for SWT on MacOS to remove the 'alt' modifier from all key events where it was used to input the special characters '{', '}', '#'.
*** This bug has been marked as a duplicate of 20953 ***
FWIW I can now insert # in Eclipse 2.1M5 on Mac OS X 10.2.4