Bug 105663 - Eclipse snaps into English keyboard layout for no reason
Summary: Eclipse snaps into English keyboard layout for no reason
Status: RESOLVED DUPLICATE of bug 7555
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 07:38 EDT by Martin Olsson CLA
Modified: 2005-08-02 11:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Olsson CLA 2005-08-01 07:38:56 EDT
Usually holding SHIFT and pressing the 7-key produces a forward slash on my 
Swedish standard keyboard. That's how it works in Windows and Eclipse when 
everything is right. For some reason Eclipse snaps into English keyboard layout 
at seemingly random times. Once it's in English keyboard layout mode I have to 
restart Eclipse to get the normal Swedish keyboard layout back. Keyboard layout 
in the rest of windows does not change during the problems in Eclipse.

I can't really tell when it happens, but it could be that when I launch by PDE 
project (a editor with customized syntax highlighting) it snaps into English 
mode but I don't notice it until I'm finished testing in the runtime workbench 
and return to the developer workbench. The problems always occur in the 
developer workbench. FYI; My plugin does not fiddle with locales or anything 
like that.
Comment 1 Martin Olsson CLA 2005-08-01 07:44:17 EDT
I just understood why this happens..

Apparently holding ALT and then pressing SHIFT changes the keyboard mapping in 
Windows. That a super annoying and silly Windows feature?!

Combine this with that fact that Eclipse uses the keycombination ALT-SHIFT-X 
and then E to launch current PDE project. Or for instance ALT-SHIFT-X J to 
launch current proj as Java app.

And whops, now you got yourself a mess!
Comment 2 Kim Horne CLA 2005-08-02 10:46:21 EDT
Yep, that's the reason.  It's a real pain.  :(

*** This bug has been marked as a duplicate of 7555 ***
Comment 3 Martin Olsson CLA 2005-08-02 11:41:32 EDT
I suffered from this bug for a couple of weeks without understanding that it was
a windows *feature*. I use SHIFT-ALT-E X to launch my plugin and when I returned
the developer workbench had another locale. My plugin is rather advanced and
supports lots of locales and locale changing. Therefore I suspected that maybe
somehow some change made by the the runtime workbench had also affected the
developer workbench. I tried for several days to locate places in my code that
could somehow modify the locale. Also under several weeks I had to put of with
this bug, and restart Eclipse all the time. This was very annoying and stole a
lot of quality time from my project.

After all that time and frustration I feel that it's arrogant to put off this
bug as low priority or to think that changing something in the Windows control
panel is a "fix". Obviously, users that suffer from these problems don't KNOW
it's infact a feature so how can they use this "fix" ?

I suggest instead to change some of the hotkey combinations, or even better to
catch the ALT-SHIFT keypress and display a "changing locale" tooltip (much like
when you press NUMLOCK in Eclipse). Or ofc, really really ideally Microsoft
would not have implemented such a obscure feature.

Anyhow, IMHO; it's very important that the user is not left confused as I was.
This was a very frustrating thing to go through and something needs to be done
about this!

That's my $0.02. Thanks.