Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361036 - Context menu disappears while navigating Format>Order submenu
Summary: Context menu disappears while navigating Format>Order submenu
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 17:33 EDT by Steve Francisco CLA
Modified: 2012-07-09 05:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Francisco CLA 2011-10-14 17:33:39 EDT
Build Identifier: Ganymede release SR2. GMF 2.1.3

When editing a diagram (like the geoshapes diagram example for GMF) if you right click on a shape so you can try to change its z-order, the context menu will disappear (most of the time, but not 100%) before you can make a choice.
This only happens on Windows 7.

Reproducible: Sometimes

Steps to Reproduce:
1. start an Eclipse IDE (3.4.2) with GMF and GMF diagram examples loaded
2. use File > New > Examples to create the geoshapesdiagram example in a project
3. add a few shapes to your diagram, then right click on one
4. in the context menu, move the mouse over "Format" to open the submenu
5. in the Format menu, move the mouse over the entries until you get to "Order"
6. most of the time, as it draws the "Order" submenu (which has options like "bring to front"), the entire context menu will go away.  If it doesn't then just try moving the mouse up and down the menu a few times.

I'm not sure why it only happens on Windows 7 but it's pretty reliable to reproduce.  I debugged as far as the DiagramContextMenuProvider in org.eclipse.gmf.runtime.diagram.ui.providers but I don't know enough about how the menus work to isolate the exact problem.

I believe it will also happen with 3.6.x builds and possibly newer, but our immediate issue is with Eclipse 3.4.2.
Comment 1 Rahul jain CLA 2012-07-09 05:50:42 EDT
Did some more investigation on this and seems to be Window 7 theme related issue as it is only reproducible in windows 7 default theme. If you change the window7 theme to "windows classic", the issue is not reproducible.