Created attachment 142424 [details] Sample SVG The attached SVG has four black squares in its corners. When inserted, it appears shifted. The SVG was created in Adobe Illustrator (whic behaved the same way), and later simplified in Inkscape, plus some Illustrator-specific garbage was removed from the file. Shows badly in LO 6.1 beta1, 4.0.0.3, and even worse in 3.3.0 / Windows 7 & Ubuntu 17.10.
Created attachment 142425 [details] Screenshot
Thank you for reporting the bug. Unfortunately, when I open sample.svg in a browser I get the error message "This page contains the following errors: error on line 5 at column 37: xmlns:i: '&ns_ai;' is not a valid URI Below is a rendering of the page up to the first error." I think, because of this error LO cannot properly render the svg file. I tried the different svg file and LO rendered it properly. Please first try to fix the error in .svg file then try again to see, if the problem is still exists or not. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested information is provided.
Thank you for the feedback. Indeed there's this message in Chrome, but not in Firefox, and if it's just the URI interpretation that is the issue, I doubt it has significance. Plus the image displays fine in Chrome as well.
Created attachment 142452 [details] svg sample file
Created attachment 142453 [details] test.svg attached screenshot
(In reply to Aron Budea from comment #3) > Thank you for the feedback. Indeed there's this message in Chrome, but not > in Firefox, and if it's just the URI interpretation that is the issue, I > doubt it has significance. Plus the image displays fine in Chrome as well. I also get the same error in Safari.I create a new svg file in Inkscape. When I attached the test.svg to a new writer file I get the expected result seen in test.svg attached screenshot If you fixed the error in the SVG, you get the expected result.
The original file was created in Illustrator, I doubt a file created in Inkscape can be use to reproduce the same issue. I'm afraid I don't have Illustrator myself, my best effort was creating a sample from the original file in Inkscape, which can be used to exhibit the bug in LibreOffice.
Confirming with LO 6.1.0.0.beta1+ under Ubuntu 16.04 x86-64 For me the problem is clearly on the LO side: 1/ external viewer shows the image correctly 2/ when inserting in a text or drawing document the file picker shows a correct preview. 3/ when using the function Edit with an external tool, the view is correct. Setting as NEW. Best regards. JBF
It seems that LO does not interpret transform="translate(-18.512236,-6.775101)" If you replace that by transform="translate(0.,0.)" with your preferred text editor then image viewer shows the same thing than LO. Best regards. JBF
Dear Aron Budea, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear Aron Budea, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Nothing changed, bug still reproducible with LO 7.1.5.0.0+ and master 7.2.0.0 alpha1, both build at home under Ubuntu 20.04 x86-64. Best regards. JBF
Same issue in recent master build with attachment 142424 [details]: Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1435c5b12646269e2b5b58ec7d51626dce6505db CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
Created attachment 189002 [details] simplify document
This is related to the <switch> element
This is fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=8b9643960117612b7e1cae1ed8325c2630232d0f
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/06075cd2ffc490feb7560f92ffc894b1e6751f90 tdf#117920: Revert "related tdf#156579: just break for switch element" It will be available in 7.6.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.