Bug 95145 - SVG not correctly displayed
Summary: SVG not correctly displayed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import SVG-filters SVG-Open
  Show dependency treegraph
 
Reported: 2015-10-17 15:56 UTC by Adrian Maire
Modified: 2025-06-26 03:11 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG as it should be vs as shown by LibreOffice (13.99 KB, image/png)
2015-10-17 15:56 UTC, Adrian Maire
Details
logo to test. (2.93 KB, image/svg+xml)
2015-10-17 15:59 UTC, Adrian Maire
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Maire 2015-10-17 15:56:56 UTC
Created attachment 119701 [details]
SVG as it should be vs as shown by LibreOffice

Inserting SVG images in documents is not displayed correctly:

SCENARIO:
Open a blank document,
Insert a svg by dragging or any other method.

How it should behave:
- Display the SVG image as per the SVG standard

How it is displayed:
- The svg image is something similar to what it should be, but nothing exact or correct.

SVG is one of the most important format, used for logos, diagrams, etc..

IMHO, it is the third most important feature after writing and saving the document.
Comment 1 raal 2015-10-17 15:59:35 UTC
Please attach SVG file.
Comment 2 Adrian Maire 2015-10-17 15:59:36 UTC
Created attachment 119702 [details]
logo to test.

image used for the test
Comment 3 MM 2015-10-17 17:41:21 UTC
Confirmed with v4.4.6.1 under windows 7 x64.
It affects multiple components, not just writer. Strangely enough when using writer there's a border around the image, which doesn't happen in calc/draw/impress.
Comment 4 V Stuart Foote 2015-10-17 23:19:51 UTC
Both insert and open filtering mishandles the simple Inkscape derived SVG. No improvement if the SVG is changed to SVG plain rather than Inkscape native.
Comment 5 Regina Henschel 2015-10-27 18:30:24 UTC
svg-filters are not yet implemented. That is a missing feature.
Comment 6 Adrian Maire 2015-12-02 17:44:59 UTC
> svg-filters are not yet implemented
It is not only a mater of the shadow, it seem like converted to a low polygonal shape.
I could leave without filters and/or convert shadow into gradients. But the low fidelity of the rendering is a block for decent documents.
Comment 7 Robinson Tryon (qubit) 2015-12-10 05:37:55 UTC Comment hidden (obsolete)
Comment 8 JoNi 2016-02-08 19:35:36 UTC
(In reply to Adrian Maire from comment #6)
> > svg-filters are not yet implemented
> It is not only a mater of the shadow, it seem like converted to a low
> polygonal shape.
> I could leave without filters and/or convert shadow into gradients. But the
> low fidelity of the rendering is a block for decent documents.

in LO 5.2.0.0.alpha0+ (x64) the curves are smooth, even with max zoom level

The fix could also be available in latest 5.0 or 5.1 tree
Comment 9 Roman Kuznetsov 2018-06-18 21:07:07 UTC
still repro in 6.1 beta 2
Comment 10 Xisco Faulí 2019-09-20 11:46:15 UTC
Also reproduced in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 11 QA Administrators 2021-09-22 03:39:14 UTC Comment hidden (obsolete)
Comment 12 Stéphane Guillou (stragu) 2022-11-23 11:21:59 UTC
Shadow is still not shown in recent master build:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1435c5b12646269e2b5b58ec7d51626dce6505db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 13 Xisco Faulí 2023-06-26 21:17:33 UTC
feOffSet is not the only reason why the svg is not displayed correctly, there are other filters not supported as well
Comment 14 QA Administrators 2025-06-26 03:11:47 UTC
Dear Adrian Maire,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug