Drag in an SVG (created with Octave / Google Drive as an example) and it will be stretched all over the page. No way to get the real aspect, you have to manually calculate and enter it. Height is stretched all over the page.
Thanks for reporting!
Is it possible to attach a sample SVG, so we can try to reproduce this behavior?
Thanks in advance,
PS: once you provide the necessary information, please feel free to mark this bug again as UNCONFIRMED.
Created attachment 78790 [details]
SVG created in Google Drive. GNU Octave SVG's also cause this bug.
Attached SVG is a perfectly round circle-smiley. Open up a new Writer document and drag it in. Will be stretched like an ellipse because of the aspect bug.
Fedora 18 Linux.
Thanks for reporting
I can reproduce this behavior using Linux Mint 14 x64 with LibreOffice 22.214.171.124. This is due the fact the image importer doesn't take the ration in account. Due the size of the image it is stretched to the boundaries (margins) of the document.
* minor: does it make substantially harder to create high quality work
* normal: default priority of minor-bugs
This bug is a regresssion. The behaviour occurs only in LO versions >= 4
@Jorendc: Since this is a regression and it is actually a quite annoying bug that prevents high quality work, I vote for increasing the importance to "high" and the priority of the bug to "normal". I think also the keyword "regression" should be added.
I can reproduce this bug with LibreOffice 126.96.36.199 via "Insert"->"Picture"->"From File". In version 188.8.131.52 inserting works perfectly. This is indeed a regression.
(In reply to comment #5)
> @Jorendc: Since this is a regression and it is actually a quite annoying bug
> that prevents high quality work, I vote for increasing the importance to
> "high" and the priority of the bug to "normal". I think also the keyword
> "regression" should be added.
@Gerry: I agree with that. Thanks
maybe (distantly) related: bug 65870 ?
Chr. Rossmanith committed a patch related to this issue.
It has been pushed to "master":
Fix fdo#64125 - Use default for preserveAspectRatio scaling
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Created attachment 82071 [details]
With width and height given, without viewBox
The picture has width="8cm" height="4cm" and so should be the size in LO. Same with the next attchement.
Created attachment 82072 [details]
With width and height given, with viewBox
The patch introduces a new error. Given width and height of the picture are no longer considered for target range and therefore the size is wrong in this cases.
*seems* to be ok post b1ac43d1ab416d334a0feb93244941eee447abcf