Draw tool -> Shape -> from Clipboard -> breaks on rotation/skew/scale

inkscape_LPE_rotatebug.svg

The drawn shape is distorted after a rotation.

Steps to reproduce:

  • Start Inkscape.
  • Draw a horizontal shape which will be used as a "shape" for "draw tool"
  • Copy it to clipboard (Ctrl C)
  • From a "shape" drop down list in a toolbar select "From clipboard"
  • Draw a shape somewhere at the page. An L like shape will be good.
  • Observe result: it should be as expected, shape correctly stroked along path.
  • (*)Select it so that scale, skew and rotate.
  • Rotate it by about 45 degrees.
  • Observe: shape is distorted.
  • Select it for node editing tool.

You will notice a regression from previous version: The pattern shape have been moved and rotated together with a path. This is wrong, I think, because they do reside in the same coordinate system and in effect a pattern-along-path. LPE is now applied to the path taking a shape which is rotated by 45 degree. If I try it to do manually (apply rotated pattern) the effect is very alike.

  • Redo from start, get to (*) but this time instead of rotating try to skew it.

  • Observe that result is broken again.

  • Redo from start, get to (*) but this time scale it vertically let's say three times.

  • Observe that result is broken again, the shape is much, much thicker (three times exactly) than it should be.

To show that the source of a problem is that a path transformation is also applied to a pattern You should try:

  • Redo from start and get to (*)
  • Group object with itself by Ctrl-G
  • Rotate that group.

You will now observe, that everything is correct. The path sees the pattern in its own coordinate system exactly as it have it seen at page.

Notice this is NOT A WORK-AROUND. The effect of scaling grouped curves with shapes do scale shape thickness. The effect of scaling or rotating un-grouped shapes DID NOT in previous version affected the shape thickness.

What happened?

See above.

What should have happened?

The shape should be correctly put along a path.

Version Info:

1.0.2 (1.0.2+r75+1) Linux, Ubuntu.

Importance

For me this is critical. I waited about 3 years for an another critical fix and now the main function I used to draw is totally broken. I think this is a simple fix (disable pattern transformation) so I hope to see it back-ported to stable version within days or so.

Oh, by the way, this bug reporting system is much worse than previous one which guided You step by step through the reporting process.

Edited by Nathan Lee