Bug Hunting Session
Bug 107998 - svg export of shapes is messed up
Summary: svg export of shapes is messed up
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium critical
Assignee: Marco Cecchetti
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-22 10:51 UTC by Marco Cecchetti
Modified: 2017-05-22 15:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Cecchetti 2017-05-22 10:51:15 UTC
Start Draw, draw a rectangle, export it to a SVG document.

Open the SVG document with a browser or Inkscape: instead of a rectangle, you will see a self-crossing polygon.
Comment 1 Marco Cecchetti 2017-05-22 11:16:58 UTC
A patch is available on gerrit: https://gerrit.libreoffice.org/#/c/37899/
Comment 2 Regina Henschel 2017-05-22 11:48:02 UTC
I cannot confirm it with Version: 5.4.0.0.alpha1+
Build ID: 965494c544dd8f35ae83b7cf38549009da06c367
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-10_23:06:27
Locale: de-DE (de_DE); Calc: group

Which version do you use? How do you draw a "rectangle".
Comment 3 Marco Cecchetti 2017-05-22 12:20:07 UTC
Oh well, interesting 5.4.0.0.alpha tag has been created on April, the offending commit on February, however by git this commit is not contained in 5.4.0.0.alpha.

So let me change it back to master branch.

Thanks for catching this incorrect setting
Comment 4 Commit Notification 2017-05-22 12:31:54 UTC
Marco Cecchetti committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=877b605bf519f20179e5de1beb5bb16cd431aa89

tdf#107998 - svg export: shapes are uncorrect both in Draw and Impress

It will be available in 5.4.0.

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:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Jan Holesovsky 2017-05-22 15:32:36 UTC
I guess fixed with the commit from comment4 - thanks Marco!