Bug 318694 - Context menu disappears when moving mouse from sub-menu "Order" to other sub-menus
Summary: Context menu disappears when moving mouse from sub-menu "Order" to other sub-...
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: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 07:01 EDT by Yu Li CLA
Modified: 2019-12-11 12:16 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Li CLA 2010-07-02 07:01:35 EDT
Build Identifier: 20100617-1415

The context menu in GMF editor disappears when right-clicking on a node, moving mouse to the sub-menu "Order" or "Text Alignment" and then to another sub-menu like "Align".

This problem occurs on Windows 7 but not on Windows XP. There is probably something wrong while calling OS.TrackPopupMenu(...) so that org.eclipse.jface.action.MenuManager.fireAboutToHide(IMenuManager) is called.

Reproducible: Always

Steps to Reproduce:
1. Checkout org.eclipse.gmf.examples.mindmap.rcp.diagram, ...mindmap.edit and ...mindmap from CVS.
2. Open an example mindmap editor
3. Create a node and right-click on it
4. Move mouse to "Format" and then the sub-context menu "Order" and then to "Align"
Comment 1 Eclipse Webmaster CLA 2010-07-19 12:29:44 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug
Comment 2 Robert Kiss CLA 2012-03-14 11:11:54 EDT
Is this a duplicate of #361036 ?

I also experience the same behavior on Windows 7 but not in a GMF editor. I have a quite reach context menu with several levels of menu items. I found out that entering into the first submenu works but as soon when I hover the second submenu I see the content of it for a split second then is closed.

Some other findings:
* using keyboard shortcuts inside the context menu works all the time.
* disabling "Use visual styles on windows and buttons" from Windows control panel (Control Panel\All Control Panel Items\Performance Information and Tools\Adjust visual effects) fix the problem.
* I use Windows 7 64 bit but the application is a 32 bit. I don't know the behavior of a 64 bit Eclipse.

I think is a SWT problem not a GMF
Comment 3 David Balažic CLA 2016-03-28 20:19:39 EDT
To avoid unnecessary duplicate, I'll post here.

I experience this too.

First in Luna:
Eclipse IDE for Java Developers
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

Now in Mars.2:
Eclipse IDE for C/C++ Developers
Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600

I downloaded the ZIP (64 bit version for Windows) : http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/technology/epp/downloads/release/mars/2/eclipse-cpp-mars-2-win32-x86_64.zip

After starting and creating a new C++ project (the only .cpp file in project is opened in editor) the following happens:
 - (re)start Eclipse
 - right click in the C++ file editor
 - move the mouse from the first item in the menu downward, slowly (not relevant, but easier to spot the problem place)
 - when reaching around the Run As submenu, the entire context menu disappears

After that the problem does not occur often, but after each fresh start of Eclipse (the same work-space) it is reproducible 100%.

I use the default settings in Eclipse.

I have Windows 8.1 Update 1 64-bit.
Comment 4 David Balažic CLA 2016-10-31 21:40:17 EDT
Ping?

Same in Neon.1 (JEE package, 64 bit, Windows 7)

 - open any *.java file
 - right click in the text contents
 - move mouse pointer to Run As...
 - move mouse pointer to Debug As...
Result: context menu disappears

Do it again, menu stays and is usable.

Close the Java file, reopen it, the problem happens again.
Comment 5 David Balažic CLA 2019-12-11 12:16:42 EST
Still happening, version:

Eclipse IDE for Enterprise Java Developers.

Version: 2019-09 R (4.13.0)
Build id: 20190917-1200


eclipse-jee-2019-09-R-win32-x86_64


Opened a new workspace,
created a Java project,
created a basic Java class,
opened it,
right click in editor,
move the pointer from top of context menu downwards

Result: context menu disappears

Expected: menu works normally


No changes to anything, default settings.