Description: LibreOffice Draw 5.4.5.1 40m0 (Build:1) Archlinux Linux carbon 4.15.3-1-ARCH #1 SMP PREEMPT Mon Feb 12 23:01:17 UTC 2018 x86_64 GNU/Linux Exporting to SVG produces a corrupt image, relocating vectors catastophically. Export to PDF works fine. Steps to Reproduce: 1. Open this file: https://github.com/anilsg/lodraw-svg-export-bug/blob/master/disk.odg 2. Observe correct view of the image is rendered in LO Draw. 3. Export to PDF and observe correct view is retained when viewed in PDF viewer. 4. Export to SVG and when viewed in any viewer such as gpicview notice image corrupted. Actual Results: SVG image is nothing like the actual image in LODraw. Vectors are relocated catastrophically: https://github.com/anilsg/lodraw-svg-export-bug/blob/master/disk.svg Expected Results: The expected SVG image should be like the PDF export, which is produced correctly: https://github.com/anilsg/lodraw-svg-export-bug/blob/master/disk.pdf Reproducible: Always User Profile Reset: No Additional Info: Version: 5.4.5.1 Build ID: 5.4.5-1 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); Calc: group This release was supplied by ArchLinux. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Created attachment 139941 [details] LODraw ODG file that demonstrates the issue
Issue not reproduced. there is no image problem for me. --- OS X EL Capitan Ver:10.11.3 version: 6.0.1.1 Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6 CPU threads: 4; OS:Mac OS X 10.11.3; UI render: default; local: ja-JP (ja.UTF-8); Calc: group
Created attachment 140013 [details] Screenshot of how the broken export SVG looks. Thanks Imai. I attach a screenshot of how the SVG export looks on my platform when viewed in my gpicview viewer.
No repro with Version: 6.1.0.0.alpha0+ Build ID: 44b4ad7d210097fdaed7dd94c5746b03f43592d3 CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; Seems to be fixed with dev version. Please could you test it with dev version? You can download it here: http://dev-builds.libreoffice.org/daily/master/
Thanks raal I downloaded LibreOffice fresh 6.0.1.1 because that was easily available (pacman on arch). That was sufficient. SVG now exports successfully without corruption. Version: 6.0.1.1 Build ID: 6.0.1-1 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); Calc: group
Fixed in fresh 6.0.1.1
Created attachment 140323 [details] Export of SVG from same ODG file using fresh 6.0.1.1 to demonstrate fix. The diff of the old disk.svg and the new disk-fresh.svg is interesting.