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

Bug 9694

Summary: [View Mgmt] Window->Navigation menu items pop up dialog even when clicked.
Product: [Eclipse Project] Platform Reporter: Jeff Brown <jeff_brown>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Tod_Creasey
Version: 2.0   
Target Milestone: ---   
Hardware: Other   
OS: other   
Whiteboard:
Bug Depends on: 5682    
Bug Blocks:    

Description Jeff Brown CLA 2002-02-13 12:16:57 EST
Clicking on any of:
  Next Editor
  Previous Editor
  Next View
  Previous View
causes the view selection dialog to pop up and wait for input.
The little dialog works well when activated using the keyboard
shortcuts and goes away on the next key-up (like releasing Ctrl).

However when activated using the menu items, it must be explicitly
dismissed by a keypress or mouse click, which is confusing.
Comment 1 Nick Edgar CLA 2002-02-13 15:04:30 EST
This is the intended behaviour. It used to disappear right away since Ctrl 
wasn't held down, but now it stays up until explicitly dismissed.

How would you expect it to work?
Comment 2 Jeff Brown CLA 2002-02-14 11:14:21 EST
I expect menu actions either to perform an operation immediately, or
to pop up a dialog and wait for further input or cancellation.  The
current behaviour does not fit that model.

The only reason I see for having menu actions for the navigation
featurs at all is to expose the associated accelerator keys.  In that
sense, it's probably a moot point anyhow since few people will trigger
the menu actions more than once, then revert to clicking on title bars
with the mouse, or using accelerator keys only.
Comment 3 Nick Edgar CLA 2002-02-14 11:23:57 EST
Which build are you running?  In the last few builds, the switcher does stay up 
even when triggered from the menu.  Until you hit Enter or Esc (other keys 
cancel too).

Comment 4 Jeff Brown CLA 2002-02-14 11:54:55 EST
I'm using the latest integration build from Feb 13, and the switcher does
stay up.  It is precisely this behaviour that I find obtrusive and
disorienting.  Unlike the dialogs created by most menu actions, this
one is small (easy to miss), makes no statement about its purpose (though
it can easily be inferred), pops up _after_ the requested action has taken 
place, and is waiting for you to tell it to go away!

I think the menu actions should perform their advertised action (enable the 
next/previous view/editor) and nothing more.  There's already a 'Switch to 
Editor...' feature that puts up a mouse-friendly dialog.

I like the switcher, but I think it only makes sense when activated by keyboard 
navigation.  It really doesn't matter.
Comment 5 Eduardo Pereira CLA 2002-09-05 16:26:08 EDT
I think we should remove these options from the menus once we have a 
keybinginds UI implemented.
Comment 6 Tod Creasey CLA 2006-06-22 08:19:01 EDT
We now have keybindings.