Download it now!
Bug 85166 - SVG with gradient displayed differently with import and embed
Summary: SVG with gradient displayed differently with import and embed
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: SVG-Open
  Show dependency treegraph
Reported: 2014-10-18 03:00 UTC by Robert Roth
Modified: 2018-06-20 17:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Comparison of tux renderings (163.12 KB, image/png)
2014-10-18 03:00 UTC, Robert Roth
Comparison of tux renderings (163.12 KB, image/png)
2014-10-18 03:05 UTC, Robert Roth

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Roth 2014-10-18 03:00:55 UTC
Created attachment 108020 [details]
Comparison of tux renderings

Might be related to bug #36511, which has been closed quite some time ago, the example tux.svg attached there can also be used to test it.

Files to test with:
* Tux image attachment from bug #36511 -
* Public domain image from -

Steps to reproduce:
1. Open one of the images in Libreoffice Draw using Open and selecting the SVG to open
2. Create a New Drawing from LO Draw (will open a new window) and drag the SVG file into it to embed it
3. Compare the contents of the two windows (attached a screenshot with tux compared)

Expected: the two windows should mostly look the same( except for the margin lines drawn on the new document, and the image rendered with its original size inside a standard page in the new document and filling the page with a custom size in the SVG)
What happens instead: the gradients (tux image uses radial, the other one uses linear gradient) are not displayed correctly, but shown as black areas when opened as SVG, but are displayed correctly when embedding the SVG image in a document/drawing.
Comment 1 Robert Roth 2014-10-18 03:05:31 UTC
Created attachment 108021 [details]
Comparison of tux renderings

Reattached comparison image with manually set mimetype.
Comment 2 A (Andy) 2014-10-25 07:44:21 UTC
Reproducible with LO (Win 8.1)

Steps done:
1. Download the tux image from bug 36511
2. Open DRAW
3. Go to FILE -> OPEN and select the downloaded image file to open it
4. Open a new drawing in DRAW through FILE -> NEW
5. Place the Windows Explorer and the new empty drawing in DRAW next to each other
6. Select the tux image file in the Windows Explorer and drag it from there to the new empty drawing

See the by Robert attached file.
Comment 3 V Stuart Foote 2015-01-10 22:57:23 UTC
The two actions use different filters--they function and behave differently. The "drag n drop" (equally an menu action Insert -> Image) action having the more complete filter implementation as compared to the Draw file open (or Import) filter.
Comment 4 QA Administrators 2017-10-30 08:30:24 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2018-06-18 20:29:34 UTC
don't repro in LO Draw 6.1 beta 2

status -> WFM