This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 317465 - Implement context menu equivalents for 3.x context menus on Views/Editors/Perspectives (in the switcher)
Summary: Implement context menu equivalents for 3.x context menus on Views/Editors/Per...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 normal with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 362427 384465 390807 407220 412574 (view as bug list)
Depends on: 379016
Blocks:
  Show dependency tree
 
Reported: 2010-06-21 10:36 EDT by Oleg Besedin CLA
Modified: 2020-02-14 20:30 EST (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2010-06-21 10:36:53 EDT
R-clicking on an open perspective in the Perspective switcher bring us context menus. There is no indication elsewhere on the screen that context menus are available. 

Toolbars commonly have the "down arrow" icon for menus. Can we add such down-arrow icon with current context menus to the Perspective switcher?
Comment 1 Eric Moffatt CLA 2010-06-22 14:43:59 EDT
While I agree (wholeheartedly!) I don't think we should be looking into this pre-release. The current 3.x works this way and that's where folks will expect it to be.
Comment 2 Carolyn MacLeod CLA 2011-09-20 14:49:38 EDT
If you do add  the drop down menus, please also add "Show Text" on the "Open Perspective" button.
Comment 3 Remy Suen CLA 2011-09-20 14:51:42 EDT
(In reply to comment #2)
> If you do add  the drop down menus, please also add "Show Text" on the "Open
> Perspective" button.

Oddly enough that option is on a perspective's tool item's context menu but not on the generic one.
Comment 4 Eric Moffatt CLA 2011-09-27 15:53:55 EDT
Should we expand the scope of this defect to include everything related to both the perspective switcher's context menus as well as the context menus for PartStacks ?

I'm thinking that we need to both ensure that the operations are accessible and translatable.
Comment 5 Carolyn MacLeod CLA 2011-09-27 16:22:05 EDT
Can you give an example of a PartStack context menu? (Sorry, I'm not hip to the lingo... <g>).
Comment 6 Eric Moffatt CLA 2011-09-29 16:11:35 EDT
Right click on an item in a stack in eclipse. We provide a menu that allows you to close all or close others...

In 3.x there are also menu items to invoke keyboard driven DnD to allow you to move the [view | stack]...
Comment 7 Carolyn MacLeod CLA 2011-10-19 15:00:18 EDT
(In reply to comment #6)
Had a look at the 3.x PartStack menus and I see that you mean:
- Move
- Size
- Minimize
- Maximize
- New Editor (aka Clone Editor)

And the way to get this menu from the keyboard (in 3.x) is to give focus to the tab item (most likely by typing shift+tab from a view or ctrl+shift+tab from an editor) and then type shift+F10 to bring up the tab item's context menu.

In 4.x, however, typing ctrl+shift+tab will give focus to the CTabFolder's Minimize and Maximize buttons (since they are full-fledged tool items now) so you do not need the "Minimize" or "Maximize" menu items (because the user can just type the space key on the appropriate tool item).

As for Move, Size, and Clone, it would be ok to put these menu items in the context menu for the tab items. Note that both Firefox and IE tab items have a context menu, so I would argue that keyboard users would expect to find a context menu on a tab item.

However, as Oleg pointed out, people do not expect to find a context menu on a tool item unless it has a little down arrow icon (i.e. screen readers will announce "split button" when one of these drop-down tool items gets focus), and then the user knows to type down arrow to get the context menu.

So I think that this defect should be for everything related to the perspective switcher's context menus (including changing the tools to be drop-down tools), and I think that there should be a new defect opened for putting the keyboard accessibility items back on the PartStack context menus.
Comment 8 Eric Moffatt CLA 2011-10-19 15:10:40 EDT
Changed the title to reflect the expanded scope and move into Platform (for M4)...
Comment 9 Carolyn MacLeod CLA 2011-10-19 16:04:29 EDT
Thanks.

For the part stack stuff, I opened Bug 361469 - Improve PartStack keyboard accessibility. Please have a look - I did give it a bit of thought, but there's still more investigating/thinking to do there.
Comment 10 Paul Webster CLA 2011-11-03 14:36:37 EDT
*** Bug 362427 has been marked as a duplicate of this bug. ***
Comment 11 Carolyn MacLeod CLA 2011-11-03 15:21:18 EDT
Note regarding adding "New Editor" menu item back to editor tab item context menu:
From bug 361469 comment 0: "It might be more consistent to call this 'Duplicate Editor' (IE has a similar concept using the word Duplicate)."
Comment 12 Eric Moffatt CLA 2011-12-09 13:10:06 EST
Aggregate move to M5. Retarget to a different milestone if you wish...
Comment 13 Marc Khouzam CLA 2012-05-18 13:27:01 EDT
I see this won't make it for Juno.
Is there a way to Duplicate an editor with 4.2?
I use that feature to sometimes compare two aspects of the same file.

Thanks
Comment 14 Paul Webster CLA 2012-05-18 14:36:52 EDT
(In reply to comment #13)
> I see this won't make it for Juno.
> Is there a way to Duplicate an editor with 4.2?
> I use that feature to sometimes compare two aspects of the same file.

There's Window>New Editor or CTRL+3 new editor

PW
Comment 15 Marc Khouzam CLA 2012-05-18 14:52:20 EDT
(In reply to comment #14)
> (In reply to comment #13)
> > I see this won't make it for Juno.
> > Is there a way to Duplicate an editor with 4.2?
> > I use that feature to sometimes compare two aspects of the same file.
> 
> There's Window>New Editor or CTRL+3 new editor

Thanks.
I had tried it before but I used 'duplicate' as my keyword.
I guess that re-enforces with the renaming suggestion of comment 11 :)
Comment 16 Paul Webster CLA 2012-07-09 08:58:51 EDT
*** Bug 384465 has been marked as a duplicate of this bug. ***
Comment 17 Dani Megert CLA 2012-10-03 03:26:33 EDT
*** Bug 390807 has been marked as a duplicate of this bug. ***
Comment 18 Markus Keller CLA 2012-10-05 12:13:15 EDT
*** Bug 379016 has been marked as a duplicate of this bug. ***
Comment 19 Paul Webster CLA 2013-11-14 09:05:40 EST
*** Bug 407220 has been marked as a duplicate of this bug. ***
Comment 20 Paul Webster CLA 2013-11-14 09:06:06 EST
*** Bug 412574 has been marked as a duplicate of this bug. ***
Comment 21 Eclipse Genie CLA 2020-02-14 20:30:27 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.