Bug 128267 - FILESAVE: Spurious definitions in SVG file (EmbeddedBulletChars)
Summary: FILESAVE: Spurious definitions in SVG file (EmbeddedBulletChars)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
 
Reported: 2019-10-20 10:58 UTC by Gerry Garvey
Modified: 2024-04-30 05:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG file with section "EmbeddedBulletChars" (19.50 KB, image/svg+xml)
2019-10-24 17:01 UTC, Gerry Garvey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Garvey 2019-10-20 10:58:30 UTC
Drawings exported as SVG contain a large section (~2.5KB) of <defs> with class "EmbeddedBulletChars" which don't appear to be part of / needed for the drawing.
Comment 1 Xisco Faulí 2019-10-22 09:53:35 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 2 Gerry Garvey 2019-10-24 17:01:43 UTC
Created attachment 155289 [details]
SVG file with section "EmbeddedBulletChars"

The section of this file from line 50 to line 81 contains definitions which are not used anywhere in the file. This SVG file was generated using the same ODG file supplied with bug 128265.
Comment 3 Buovjaga 2020-04-29 16:55:03 UTC
Bibisected with Linux bibisect-43all to range:

https://git.libreoffice.org/core/+log/7c4d3ea6ba4d42b4dda5148a00c8c411b5d7703d..5b195fbcf7a441aeb193f6abd08b877e580938e0

Plenty of SVG commits in that one.

I'm not sure I would call this a regression in its usual sense.
Comment 4 Buovjaga 2020-04-29 16:56:18 UTC
Uff, sorry for not mentioning: can be easily reproduced by drawing a rectangle and exporting to SVG
Comment 5 QA Administrators 2022-04-30 03:39:21 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2024-04-30 03:14:16 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2024-04-30 05:58:51 UTC
git grep and git blame reveal that the change was made to filter/source/svg/svgexport.cxx in commit b76628acb1ae4fc06f8c1b70ec2e0cf39356deef