Bug 129324 - EDITING Draw converts text to curves in a SVG file with viewBox in SVG code
Summary: EDITING Draw converts text to curves in a SVG file with viewBox in SVG code
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2019-12-11 10:54 UTC by joachim_liedtke
Modified: 2026-05-01 03:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG not working (292 bytes, image/svg+xml)
2019-12-11 10:54 UTC, joachim_liedtke
Details
SVG working (270 bytes, image/svg+xml)
2019-12-11 10:55 UTC, joachim_liedtke
Details
SVG made from LODraw for comparison of code and size (7.71 KB, image/svg+xml)
2019-12-18 07:38 UTC, joachim_liedtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joachim_liedtke 2019-12-11 10:54:30 UTC
Created attachment 156477 [details]
SVG not working

I have a (very basic) SVG with two lines of text. When I place the file in Draw, then break it up the first line of text is always converted to curves whereas the second line of text is editable.

When I remove viewBox from the SVG code (width and height are 100%) both lines of text are editable.
Comment 1 joachim_liedtke 2019-12-11 10:55:03 UTC
Created attachment 156478 [details]
SVG working
Comment 2 Roman Kuznetsov 2019-12-18 07:28:11 UTC
Joachim, in which software did you make your SVG?


Xisco, possibly it's not our bug?
Comment 3 joachim_liedtke 2019-12-18 07:37:54 UTC
Basically the SVG was coming from Affinity Designer / Adobe Illustrator CS6. Tried both versions. Step by step I removed several lines of code from the SVG until the versions I uploaded.

So the only version worked was the one where I removed viewBox. Apart from this: Have you ever checked the code of SVG generated from LODraw? Its massive for just two lines of text. Good news, this SVG works after reimport to LODraw.
Comment 4 joachim_liedtke 2019-12-18 07:38:37 UTC
Created attachment 156642 [details]
SVG made from LODraw for comparison of code and size
Comment 5 Buovjaga 2020-04-29 17:08:31 UTC
Behaves like this already in 4.4. Older versions do not allow to break it.

I don't see why it should behave this way with viewBox attribute being present.
Comment 6 QA Administrators 2022-04-30 03:39:26 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2024-04-30 03:14:17 UTC Comment hidden (obsolete)
Comment 8 joachim_liedtke 2024-04-30 07:08:12 UTC
The bug is fixed. Many thanks for that.
Comment 9 Buovjaga 2024-04-30 07:34:12 UTC
(In reply to joachim_liedtke from comment #8)
> The bug is fixed. Many thanks for that.

Nope, not fixed. The problem remains and a regression has appeared with Break command: the size of the items becomes tiny. If I enlarge the top item, I can see that it has again been converted to curves. I should report this new thing separately later.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 63e0680e29ea8d414ca23d10304d5564fe2aa99c
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 10 Buovjaga 2024-04-30 09:12:08 UTC
(In reply to Buovjaga from comment #9)
> (In reply to joachim_liedtke from comment #8)
> > The bug is fixed. Many thanks for that.
> 
> Nope, not fixed. The problem remains and a regression has appeared with
> Break command: the size of the items becomes tiny. If I enlarge the top
> item, I can see that it has again been converted to curves. I should report
> this new thing separately later.

Bibisected and found that it was recently reported as bug 160625.
Comment 11 QA Administrators 2026-05-01 03:16:02 UTC
Dear joachim_liedtke,

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