Bug 67197 - SVG crop then rotate causes image loss
Summary: SVG crop then rotate causes image loss
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: regression
Depends on:
Reported: 2013-07-23 02:16 UTC by lo
Modified: 2015-01-10 23:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

SVG image from wikimedia used to reproduce the problem. (96 bytes, text/plain)
2013-07-23 02:16 UTC, lo

Note You need to log in before you can comment on or make changes to this bug.
Description lo 2013-07-23 02:16:43 UTC
Created attachment 82853 [details]
SVG image from wikimedia used to reproduce the problem.

A cropped SVG image, once rotated, appears to lose information on drawing canvas.

To reproduce:
1) Download an SVG image (like https://upload.wikimedia.org/wikipedia/commons/d/dd/Capsule_geometry.svg)

2) Drag it onto your canvas in Libre Office Draw

3) Crop it by right-clicking the imported SVG, and selecting Crop. Remove the left-most 2.24"

4) Right click the remaining image. Select "Position and Size". Set the angle to 90. Hit enter

Results: Part of the image will remain, but the rest will have left.
Comment 1 tommy27 2013-11-23 12:17:26 UTC
reproducible under Win7 64bit using LibO 4.1.3 and 4.0.4
it works fine in 3.6.7 hence it's regression of the 4.0.x branch
Comment 2 Michael Weghorn 2015-01-10 23:42:59 UTC
This is also reproducible on Linux (Debian) with LibreOffice version

It does no longer occur with LibreOffice and a current build of master (latest commit: b3c6f2765602290fecd1f1e291e11667b6b446b6).

The bug must have been fixed in the meanwhile. Therefore, I close this bug.