Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318710 - LabelEditParts disappear when clicking on them and then in empty space
Summary: LabelEditParts disappear when clicking on them and then in empty space
Status: CLOSED DUPLICATE of bug 319191
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 09:00 EDT by Yu Li CLA
Modified: 2011-06-25 09:03 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 Yu Li CLA 2010-07-02 09:00:39 EDT
Build Identifier: 20100617-1415

LabelEditParts in GMF editor disappear when clicking on them and then in empty space. It seems that a label is not refreshed after its direct edit box is disposed. It appears again when the diagram is refreshed (e.g., after moving its owner node).

This is new with eclipse 3.6 (GMF 2.3.0), the same code is still working fine with 3.5.2 (2.2.2).

Reproducible: Always

Steps to Reproduce:
1. Check out the mindmap example (org.eclipse.gmf.examples.mindmap, org.eclipse.gmf.examples.mindmap.edit, and org.eclipse.gmf.examples.mindmap.rcp.diagram) and run it
2. Create a diagram, then a resource node, and give a name for this node
3. Click on the name label and then in empty space
Comment 1 Johannes Michler CLA 2010-07-06 03:46:36 EDT
I can confirm this Problem on Windows XP. I think this is very critical since it renders GMF editors useless!
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:17:10 EDT
[GMF Restructure] Bug 319140 : product GMF and component
UI was the original product and component for this bug
Comment 3 Chris CLA 2011-06-21 09:41:59 EDT
I can confirm the same problem in our own GMF-based editor and also in the Taipan example from the current head.

I'm using a Helios Eclipse with GEF 3.6.2

is there any info on this bug or a workaround maybe?
Comment 4 Mickael Istria CLA 2011-06-21 09:53:27 EDT
I think it is more related to GMF-Runtime, except if it is because of a listener set by GMF-Tooling.
Comment 5 Chris CLA 2011-06-21 10:13:25 EDT
(In reply to comment #4)
> I think it is more related to GMF-Runtime, except if it is because of a
> listener set by GMF-Tooling.

I see. I thought GEF because of this eclipse.tools.gef post:

news://news.eclipse.org:119/i0he9q$bhv$1@build.eclipse.org

which mentioned an update of draw2d as the possible culprit
Comment 6 Chris CLA 2011-06-21 10:59:00 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > I think it is more related to GMF-Runtime, except if it is because of a
> > listener set by GMF-Tooling.
> 
> I see. I thought GEF because of this eclipse.tools.gef post:
> 
> news://news.eclipse.org:119/i0he9q$bhv$1@build.eclipse.org
> 
> which mentioned an update of draw2d as the possible culprit

ok, seems this is a duplicate of bug #319181
Comment 7 Chris CLA 2011-06-21 10:59:45 EDT
sorry, bug #319191
Comment 8 Johannes Michler CLA 2011-06-25 08:51:28 EDT
Yes,

I can confirm this is a duplicate. And it is solved in the meantime. So I think we can close this bug,


-Johannes
Comment 9 Mickael Istria CLA 2011-06-25 09:03:12 EDT

*** This bug has been marked as a duplicate of bug 319191 ***