qasta / gwt-diagrams

Automatically exported from code.google.com/p/gwt-diagrams
0 stars 0 forks source link

gwt-diagram 0.2RC00 behaves randomly while drawing Beizer curves with gwt-dnd-2.5.6 #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Draw a Beizer two ended curve with gwt-diagram 0.2RC00 and gwt-dnd-2.5.6
2. Make the end points draggable. Attach appropriate DropControllers for
updating the curve.
3. Try dragging the end-points

What is the expected output? What do you see instead?
I expect to see the components being dragged anf the curve being redrawn.
However, the end-points no longer remain draggable. If I change the curve
type to Rectilinear, then the endpoints remain draggable.

What version of the product are you using? On what operating system?
OS: Linux (Ubuntu), Browser: Firefox 3, Opera, Safari

Please provide any additional information below.

Original issue reported on code.google.com by gauravag...@gmail.com on 15 Jan 2009 at 8:41

GoogleCodeExporter commented 9 years ago
On spending some more time it seems that for every draggable item I need to do 
this:

DOM.setStyleAttribute(w.getElement(), "zIndex", "100");

in order for it to remain draggable after drawing a beizer/straightline curve.

So problem solved! Pls ignore this bug.

Original comment by gauravag...@gmail.com on 15 Jan 2009 at 9:28