| Summary: | [KeyBindings] ALT+S does not open Source menu, no mnemonic for Search menu | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Randy Hudson <hudsonr> |
| Component: | UI | Assignee: | Douglas Pollock <douglas.pollock> |
| Status: | VERIFIED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jh, markus.kell.r, ppshah |
| Version: | 3.0 | ||
| Target Milestone: | 3.1 M2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Randy Hudson
Which build? 3.0.0 I do not see this behaviour. Do you have any key bindings defined that start with "Alt+S"? Which plug-ins do you have installed? etc., etc. I noticed that in my Debug perspective, Search has the A underlined. But not in the java perspective. Before opening this bug, I walked across the hall and reproduced it on my teammates workbench, which also happened to be in the Java perspective. But for him Debug perspective is working OK also. He only has GEF, Sleak, and the RelEng plug-ins installed. I have EMF and UML2 installed as well, and some more stuff. It seems like it may be related to something persisted in the workspace settings. If I bring up a different workspace, the problem is not present. So I'm at a loss as to how to describe steps to reproduce. All I know is that I've reproduced this on the next clostest workspace to me. In both mine and Pratik's Java perspective, Search is missing the mnemonic, and ALT+S is broken. OK, got the steps for 3.0.0: 1) Create a brand new workspace 2) Open the Java Perspective 3) Right-click to close the Resource Perspective 4) Close the Hierarchy View 5) Open the Navigator View 6) Customize Perspective->Commands->add the "Team" commands to the toolbar. 7) Save Pespective As Java, overwriting the default. 8) Window->New Window Note that "Search" appears without the 'a' underlined. In the previous window it is underlined. I'm going to guess that this is why "&Source" is not working, but even if it isn't it's a bug. Exactly the same problem here. It's a big problem for me, as I only use the keyboard. This is probably due to bug 15670. Missing mnemonic for search menu is due to invalid menu (re-)definition in org.eclipse.jdt.junit: label is "Search" (non-NLSed), but should be "Se&arch" (I just filed bug 72873 for this). Thank you very much, Markus!
For the impatient user: This concrete fix can be made directly in the Eclipse
installation directory to solve the problem immediately, until there is a new
version of Eclipse/junit with this corrected:
Correct line 230 in plugins\org.eclipse.jdt.junit_3.0.0\plugin.xml from
label="Search"
to
label="Se&arch"
and restart Eclipse. This makes both the Se&arch menu and &Source menu work again.
I'm confused about the non-NLSed statement. If "Search" is not externalized in Junit, does that mean that this is a translation problem in other locales? Is there fix potential 3.0.1 or 3.0.2? I'm marking this as a duplicate of Bug 72873, as I've not been able to reproduce this bug and Markus seems to feel that this can be fixed by Bug 72873. Bug 15670 will remain open. *** This bug has been marked as a duplicate of 72873 *** Moving on to the M2 milestone, just to make it easier to track when these bugs were dealt with. |