quickMockup icon indicating copy to clipboard operation
quickMockup copied to clipboard

Cloning Window element is broken

Open AlaaSarhan opened this issue 6 years ago • 2 comments

Is

  • Cloning a window element just breaks everything .. like in this screenshot image
  • Assigned children inside the container are not cloned

Should

  • Cloning a window element should just create another proper window element as expected.. looking like the following image
  • Assigned children inside the container should be cloned too

Notes

  • selectedFigure.clone() does not seem to work just out-of-the-box when cloning a figure that have "real" children (that is Figure children in draw2d definition) such as the "Window" label that is inside a window figure

AlaaSarhan avatar Dec 18 '19 19:12 AlaaSarhan

another related question I had when testing this: should cloning a Container element also clone its "children"

Yes – this is what I would expect there and what typical graphics applications do, too.

jdittrich avatar Dec 19 '19 10:12 jdittrich

another related question I had when testing this: should cloning a Container element also clone its "children"

Yes – this is what I would expect there and what typical graphics applications do, too.

Updated description with that

AlaaSarhan avatar Dec 19 '19 11:12 AlaaSarhan