Bug 115648 - SVG exported by Draw doesn't look the original document
Summary: SVG exported by Draw doesn't look the original document
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.4.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-12 11:16 UTC by Raniere Silva
Modified: 2018-02-19 16:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Draw file as a minimal example (7.78 KB, application/vnd.oasis.opendocument.graphics)
2018-02-12 11:16 UTC, Raniere Silva
Details
Draw 5.4.4.2 SVG output (4.59 KB, image/svg+xml)
2018-02-12 11:17 UTC, Raniere Silva
Details
Draw 5.4.4.2 PNG output (5.52 KB, image/png)
2018-02-12 11:17 UTC, Raniere Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raniere Silva 2018-02-12 11:16:04 UTC
Description:
The path created by the export function doesn't work properly.

Steps to Reproduce:
1. Open Draw.
2. Draw a rectangle.
3. From the top bar menu, File -> Export -> SVG.

Actual Results:  
See attached. The SVG when view in Firefox, Chrome and other SVG readers doesn't have a rectangle.

Expected Results:
Get a rectangle in the SVG.


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
Comment 1 Raniere Silva 2018-02-12 11:16:40 UTC
Created attachment 139823 [details]
Draw file as a minimal example
Comment 2 Raniere Silva 2018-02-12 11:17:16 UTC
Created attachment 139825 [details]
Draw 5.4.4.2 SVG output
Comment 3 Raniere Silva 2018-02-12 11:17:43 UTC
Created attachment 139826 [details]
Draw 5.4.4.2 PNG output
Comment 4 V Stuart Foote 2018-02-12 14:30:41 UTC
Can not reproduce, on Windows 10 Home 64-bit en-US with 5.4.5.1 release, 6.0.1.1 release, or a current 6.1.0alpha0+ master.

Was not clear if the save from Draw was directly from a new Draw session (no save to .ODG) or if on reopening a fully saved ODF archive. So, I tested it both ways and unable to reproduce.
Comment 5 raal 2018-02-13 20:12:47 UTC
No repro with Version: 6.1.0.0.alpha0+
Build ID: e3546db362e9dfed94572d164359a0fc1eae742f
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/
Comment 6 Raniere Silva 2018-02-19 15:39:42 UTC
It is fixed in 6.0.1.1.