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

Bug 255756

Summary: Problem with drawing large and Complex Diagram (ToolTip )
Product: [Tools] GEF Reporter: vikas <vikasholkar>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: ahunter.eclipse, vikasholkar
Version: 3.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Node Edges
none
Complex Node diagram none

Description vikas CLA 2008-11-19 03:50:34 EST
Created attachment 118225 [details]
Node Edges

Hi 

Please check attached diagram. 
What i wanted to have:
Unconnected nodes to be displayed on top left corner while connected nodes displayed below connected nodes. And should be able to see tooltip whenever i take my mouse pointer on nodes (MouseHover). 

What is happening: 
Unconnected & connected nodes are displayed but there is an edge between some Unconnected nodes and Connected nodes. While check all nodes and edge array i could't have any edge between those nodes. Other problem is i am not able to see ToolTip & do mouse drag when i take mouse pointer to nodes which are middle of diagram, while able to see ToolTip & do mouse drag for nodes which are outer side in Diagram. 

For displaying unconnected nodes i call grid layout algorithm. While for displaying connected nodes i call Tree layout algorithm. Nodes location are calculated using size of canvas as [1,1] and at the end converted to coordinate location. 
I found that for ToolTip and Mouse Drag, mouse event are not send from SWTDispatcher itself due to which not able to do mouse drag or display tooptip on mouseHover.

I came to know about draw2d rendering problem from GEF faq. But if i have only small amount of component and even if figure size is more than >32000 unable to see that rendering. 

Able to see above behaviours only when i select large number of nodes. I am using draw2d 3.2.1 and eclipse is 3.3.1 linux version. 
Any pointers in this regard will be really helpful.
Comment 1 vikas CLA 2008-12-10 09:56:07 EST
Created attachment 120051 [details]
Complex Node diagram
Comment 2 vikas CLA 2008-12-10 10:00:11 EST
Problem related to connected nodes and edges (rendering problem) is resolved. 
I updated GEF & draw2d to GEF3.4.1 & Draw2d3.4.1 plug-in. 
Problem related to node drag and drop using  mouse is not resolved even after updating GEF. Also tooltip problem is still there. 
Any pointers in this regard?

Comment 3 Anthony Hunter CLA 2009-01-23 16:24:17 EST
Seems like this is the same issue as Bug 258398 ?

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