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

Bug 358096

Summary: Next Editor modeless dialog should suppress other modeless dialogs while it is open
Product: [Eclipse Project] Platform Reporter: David Woldrich <dave>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Offers dialog shown overlapping the Editors dialog none

Description David Woldrich CLA 2011-09-19 07:25:08 EDT
Build Identifier: 20110615-0604

When I use the "Next Editor" command and hold the Ctrl key to keep its modeless "Editors" dialog open, other elements of Eclipse can also open modeless dialogs that can interfere/overlap with it.  

For example, when holding Ctrl and floating over a method name or field name, you can get a simple modeless dialog that offers functions like "Open Declaration" and "Open Return Type".  

But, when the Editors dialog is open (held open by the Ctrl key held down), and the mouse is floated over a field, both the Editors dialog and the offers dialog will be displayed with the offers dialog on top.  

This can lead to odd/confusing scenarios where the user holds open the "Editors" dialog, sees a window name and moves his mouse to click it.  But during the move, at the last moment, floats over a field or method in the current editor and gets its offers dialog.  Then, before the user realizes the change, he clicks, and fires the offer rather than switching editors.

I believe there would be at least three classes of modeless dialog:  dialogs that get exclusive access to the desktop, dialogs that can coexist other dialogs but can also be suppressed/dismissed by others, and dialogs that are informational (like tooltips) that can always be displayed but should stack appropriately with higher priority dialogs so as not to occlude them.  

I think Next Window's "Editors" dialog is one of those exclusive dialogs, and the correct behavior should be that when Editors is open, it should suppress other competing modeless dialogs from opening.

Reproducible: Always

Steps to Reproduce:
1. Open multiple editors.  Have the current editor be a Java file that fills the window with method calls and field accesses.
2. (Assuming default keybinding for Next Editor is Ctrl+F6) Hold Ctrl and press F6 to pull open the Editors dialog.
3. Continuing to hold ctrl down, float your mouse over a field or method.  The field or method's offers menu dialog should appear along with the Editors dialog!  If the field or method is sufficiently close on the screen to the Editors dialog, its offer dialog will overlap the Editors dialog.
Comment 1 David Woldrich CLA 2011-09-19 07:28:14 EDT
Created attachment 203581 [details]
Offers dialog shown overlapping the Editors dialog

In this screenshot, my mouse has floated over the "rams" symbol to the right of the Editors dialog.  I was going to click "testVerticalSpacing.jsp", but wound up clicking "Open Implementation"...
Comment 2 Lars Vogel CLA 2019-11-14 03:23:22 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.

If you have further information on the current state of the bug, please add it. 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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.