Community
Participate
Working Groups
3.0M4/linux-gtk/j2sdk1.4.2. I start eclipse with: ----- ECLIPSE_DIR=/usr/local/eclipse-SDK-3.0M4 exec $ECLIPSE_DIR/eclipse -data $HOME/.eclipse-3.0M4 -vm /usr/local/j2sdk1.4.2/jre/bin/java ---- Resize. Go directly into the preferences dialog. Scroll down to Java with arrow keys, hit space bar, scroll down to code generation. Hit Alt-E. Nothing. On further experimentation, all preferences keyboard shortcuts appear broken. In Code Generation/Comments I continued to try using keyboard shortcuts, and at one point they all happened at once: I got three editors in a row corresponding to the three times (don't learn fast :) I pressed Alt-E. Mostly however there was no apparent result to hitting the keyboard shortcut.
Changed the summary to reflect that every dialog I've used (preferences, properties, new java project) has broken keyboard shortcuts.
doug, reporter is using linux. please comment on this bug.
I cannot reproduce your bug on my machine. From previous posts to eclipse-dev, I gather you tend to have "/usr(/local)" mounted as read-only (as per FHS). I set up a test environment like this, and still could not reproduce. I'm going to need more information. You have said that you are using Eclipse-GTK-3.04M4. It would be nice to know what window manager you are using, and what distribution (if any). Also, could you please attach the output of "Help > About Eclipse Platform > Configuration Details..." to this bug report. Also, what keyboard layout are you using? And, finally, do you have any applications running which trap key and mouse events globally? Or, are you performing these steps while communicating over VNC (or similar protocol)? Thanks for your help. (moving to P5 -- waiting for reply)
The distribution is Mandrake 9.1; my gtk version is 1.2.10 (as delivered with the distribution, I believe... can't remember if there's been an upgrade); this distribution is totally stock, ain't modern unix wonderful, don't have to hack the hell out of it in order to get some work done. I installed it and haven't touched it since.
Created attachment 6524 [details] configuration details report from Eclipse Help > About Eclipse Platform > Configuration Details
`rpm -q gtk2` What version of gtk2 are you running (if any)? I am running "gtk2-2.2.1-4" on a RedHat 9 box.
It's installed as gtk+2.0-2.2.1-2mdk
What window manager? Using applications that trap key events? VNC?
When I said that I'm running stock KDE, I hoped that would be an answer to the question of what window manager. I have no idea what wm is running, and there's nothing in the ps output with wm in it. Whatever it is, I haven't changed it. Applications that trap events: don't think so. I'm running some basic app's (licq, xmms, knode, konqueror, konsole), nothing that is active outside its own window. VNC: nope. I'm sitting in front of the box. It's probably no help but I can tell you that 3.0M3 _did_ have functional shortcuts in the dialogs, and nothing changed on my machine in the half hour between using M3 and M4 (I know... famous last words). I'm going to upgrade to mandrake 9.2 this weekend, so that will provide a new data point.
Sorry about that. I didn't see the mention of KDE. I'm very close to having to mark this as "WORKSFORME". I can't reproduce given the steps below, and I'm not sure what other variables could possibly be affecting this. Could you also try I20030822/3? It's a long shot, but maybe.... Oh, and maybe processor speed? Seems far-fetched, but you mention something that sounds like the application is catching up with you. How fast is your processor? Also could you try to reproduce with a fresh workspace? Thanks for your help.
Gary: is this still a problem for you?
Sorry, I forgot that there were a couple of things you wanted me to try: a recent build, and a fresh workspace. Not sure what a fresh workspace means. Re-install? If so, I've done that quite a few times with no changes in the symptoms. If it means opening a new project, here's a report of that process: I open eclipse and close the project I was working on. I will attempt to navigate by keyboard shortcuts wherever possible: AltF, right arrow, AltR (doesn't work, hit return), New Project popup comes up, AltN (doesn't work, hit return), type in project name, AltD (doesn't work, hit tab), spacebar (to uncheck the box), AltR (doesn't work, hit tab twice to get to Browse button), spacebar brings up project directory popup, mouse to select, AltO (it worked!), back to New Java Project, AltN (doesn't work, tab twice to Next button), spacebar activates button, to JavaSettings, AltF (doesn't work, hit return). I haven't moved to Mandrake 9.2 yet so no change in any of the software I'm running. Since it's been a while, would you like to suggest a more recent build than I20030822/3?? I can try it today.
To clarify, by 're-install' I mean: shut down eclipse, delete all ~/.eclipse* files including the --data file, start eclipse and re-setup preferences and projects.
Alt+R wouldn't work. That's not how mnemonics work on GTK. You need to release the "Alt" key, and then type "R". This is how the windowing toolkit works. (cross-test with gedit) However, I know understand your problems. SWT: This is a problem with mnemonics in the dialogs on GTK. Cross-testing to Windows XP shows the problem does not exist on all platforms. Essentially mnemonic traversal seems to be completely suppressed in dialogs on GTK. This is different than the normal behaviour for GTK applications. Follow Gary's steps from Comment #12 to reproduce. If you need a snippet, let me know.
SSQ, did you and I break this recently, playing with mnemonic support for key bindings?
Mnemonics on dialogs are working fine too me (build I20031105). I have RedHat 9 and gtk2-2.2.1-4. This may be a mandrake/kde specific problem.
I just tried eclipse-SDK-I20031105-linux-gtk.zip, repeated the re-install described above. Exact same symptoms. Here's the command line: /usr/local/eclipse-SDK-I20031105/eclipse -data ~/.eclipse-I20031105 -vm /usr/local/j2sdk1.4.2/jre/bin/java I said this before, but wanted to remind y'all that when I switched from M3 to M4 I experienced sudden loss of keyboard shortcuts. To the best of my knowledge, nothing on my system changed at that time.
Is NumLock on? Try unset it.
I am assuming NumLock is the problem. Fixed > 20031110. Please reopen if otherwise.
Good call! Yep, NumLock is it. I am hoping that when you say FIXED it means that in some future version, keyboard shortcuts will again work with NumLock on. I don't mind turning it off for now but see no reason why having NumLock on should break anything... keyboard shortcuts worked fine with NumLock on until M4 (as I recall...). Thanks again for figuring it out!
NumLock does not matter anymore for mnemonics. So it will work if it is on or off.