Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 262593

Summary: [Commands] Show in package explorer shortcut not working in linux
Product: [Eclipse Project] Platform Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: Paul Webster <pwebster>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, francisu, markus.kell.r
Version: 3.5   
Target Milestone: 3.6 M7   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
First char a mnemonic v01 none

Description Curtis Windatt CLA 2009-01-27 11:39:06 EST
I20090127-0100

In windows I regularly hit Alt-Shift-W > P to open up the current editor in the package explorer.  Using linux the shortcut is not working.  The alt-shift-w opens the menu, but there are no key shortcuts to the different views.

I expect this to be a known problem, but couldn't find a duplicate.
Comment 1 Francis Upton IV CLA 2009-01-27 12:21:44 EST
This is a regression, this used to work on earlier 3.5 builds, and I also verified that this does not work correctly now in 20080127-0100.  This is a very important shortcut, I don't think M5 should go out without this fix.
Comment 2 Curtis Windatt CLA 2009-01-27 12:28:56 EST
This hasn't been working for me for at least 2 weeks, probably a bit longer.  Before that I was on windows so I don't know when the regression started.
Comment 3 Francis Upton IV CLA 2009-01-27 12:32:24 EST
I think it was OK in M4, but I'm not sure.
Comment 4 Paul Webster CLA 2009-01-27 12:50:44 EST
Probably caused by Bug 38789
PW
Comment 5 Dani Megert CLA 2010-03-30 02:44:21 EDT
This is still broken in the 3.6 stream.
Comment 6 Paul Webster CLA 2010-03-30 10:42:03 EDT
(In reply to comment #0)
> I20090127-0100
> 
> In windows I regularly hit Alt-Shift-W > P to open up the current editor in the
> package explorer.  Using linux the shortcut is not working.  The alt-shift-w
> opens the menu, but there are no key shortcuts to the different views.

This appears to be the general problem.  Windows will default to the first character if there are no mnemonics in the menu.  Linux won't.  Since view descriptors don't have mnemonics in them, this has never worked on Linux.

PW
Comment 7 Paul Webster CLA 2010-03-30 11:46:45 EDT
A quick solution:  I could simply supply the first char of each view as the mnemonic.  Duplicate mnemonics are allowed, and it would then be available.

PW
Comment 8 Dani Megert CLA 2010-03-30 12:05:13 EDT
Sounds like a plan ;-)
Comment 9 Paul Webster CLA 2010-04-13 12:48:20 EDT
Created attachment 164749 [details]
First char a mnemonic v01
Comment 10 Paul Webster CLA 2010-04-13 12:49:14 EDT
Released to HEAD >20100413
PW
Comment 11 Paul Webster CLA 2010-04-26 09:20:28 EDT
In I20100425-2000
PW
Comment 12 Markus Keller CLA 2012-04-20 21:47:13 EDT
This fix never ended up in the 4.x branch. Pushed to master:
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=611aa6f9a3af35a439c1898f92af4249807747a6