Bug 79163 - SVG Import - gradients bugged and some transparent sections fully white
Summary: SVG Import - gradients bugged and some transparent sections fully white
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.3.0.0.beta1
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.2.0 target:5.1.1
Keywords: filter:svg
Depends on:
Blocks: SVG-Open
  Show dependency treegraph
 
Reported: 2014-05-24 02:12 UTC by Peter Beurle
Modified: 2018-06-20 17:03 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample svg (23.16 KB, image/svg+xml)
2014-05-24 02:12 UTC, Peter Beurle
Details
LibreOffice430beta1 misrenderings of SVG as compared to InkScape (126.79 KB, application/zip)
2014-05-24 16:32 UTC, V Stuart Foote
Details
clips of the SVG inserted and opened (258.20 KB, application/zip)
2015-11-19 20:36 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Beurle 2014-05-24 02:12:20 UTC
Created attachment 99684 [details]
Sample svg

Some blacks do not render in svg images in impress.

If you import the attached image the seats are missing from the car along with parts of the tyres and infill of the steering wheel.

This is a regression as it works in the LO 4.2 line on the same computer.
Comment 1 V Stuart Foote 2014-05-24 16:32:37 UTC
Created attachment 99727 [details]
LibreOffice430beta1 misrenderings of SVG as compared to InkScape

Confirmed.

On Windows 7 sp1, 32-bit

Version: 4.3.0.0.beta1
Build ID: 2e39c7e59c8fc8b16a54c3d981dceef27fb0c07f

Attachment is zip set of renderings of example SVG. From Inkscape as baseline. Then how Impress and Draw handle--neither correctly. And an export from Draw to show it not just a preview of the SVG showing, but that SVG detail is lost.
Comment 2 QA Administrators 2015-09-04 02:48:53 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-11-19 16:07:12 UTC
Now the problems seem to be some glosses are fully white and some gradients don't work.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 66d2b72667792cb18b25805387824d636e2a455c
TinderBox: Win-x86@39, Branch:master, Time: 2015-11-18_02:35:53
Locale: fi-FI (fi_FI)
Comment 4 V Stuart Foote 2015-11-19 20:36:05 UTC
Created attachment 120667 [details]
clips of the SVG inserted and opened

On Windows 8.1 Pro 64-bit (en-US) with
Version: 5.1.0.0.alpha1+ (x64)
Build ID: 32d4c03cba399ada807b8ec113a3928aa9e3ff7b
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-11-16_23:41:46
Locale: en-US (en_US)

the attached zip archive shows current state of the svgInsert vs svgOpen filters--and fully rendering in FireFox42 and ImageMagick's Display uitl.
Comment 5 V Stuart Foote 2015-11-19 20:41:15 UTC
For filter opening SVG in Draw, not the insert SVG filter.

In the attached clip can see the state of the insert filter, which has some issues as well,  and the much rougher but better than its been open filter.
Comment 6 Robinson Tryon (qubit) 2015-12-09 18:52:37 UTC Comment hidden (obsolete)
Comment 7 Xisco Faulí 2016-01-30 00:55:25 UTC
Fix submitted to gerrit: https://gerrit.libreoffice.org/#/c/21911/
Comment 8 Commit Notification 2016-02-01 16:04:14 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=359f43f8e76c3bd85c3daf35b5a6d925a4c8c64f

tdf#79163: SVGIO: Fix problem with opacity attribute

It will be available in 5.2.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 9 Xisco Faulí 2016-02-02 10:23:59 UTC
transparent sections fully white is fixed now. Besides, as it's planned to replace svg filter with svgio in libreoffice 5.2 this issue can be already close as RESOLVED FIXED
Comment 10 Commit Notification 2016-02-05 15:37:11 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-5-1":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=9951813197e28968ba9a36d905dc0ba8dfd41f5a&h=libreoffice-5-1

tdf#79163: SVGIO: Fix problem with opacity attribute

It will be available in 5.1.1.

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 11 Commit Notification 2016-02-09 17:25:02 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=05554bc47840659e1b9826523c100edfbc8a4ecd

SVGIO: tdf#79163: Add import test

It will be available in 5.2.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.