Bug 90284 - SVG export misses a text object
Summary: SVG export misses a text object
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
: 92678 99769 (view as bug list)
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
 
Reported: 2015-03-27 17:05 UTC by Eric Schultz
Modified: 2023-11-05 16:51 UTC (History)
12 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG export missing the text (109.51 KB, image/svg+xml)
2015-03-27 17:05 UTC, Eric Schultz
Details
Draw file with text included (46.20 KB, application/vnd.oasis.opendocument.graphics)
2015-03-27 17:06 UTC, Eric Schultz
Details
minimal reproducer ODG based on original (11.75 KB, application/vnd.oasis.opendocument.graphics)
2023-11-05 16:51 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Schultz 2015-03-27 17:05:34 UTC
Created attachment 114404 [details]
SVG export missing the text

I've created a diagram in Draw with some text. When I export to SVG, a piece of text is missing in the SVG. In my case, the text "Send regdomain info to kernel via netlink" is dropped. In fact, from a quick text search, it doesn't seem to even be in the SVG file at all.

The attached odg file shows my original draw file and the attached svg file shows the result.
Comment 1 Eric Schultz 2015-03-27 17:06:18 UTC
Created attachment 114405 [details]
Draw file with text included
Comment 2 A (Andy) 2015-03-28 00:07:28 UTC
Reproducible with LO 4.4.1.2, Win 8.1

Steps done:
1. Open the attached odg file
2. Go to FILE -> EXPORT and select as file type SVG and click Save
3. Open the SVG file
Comment 3 MM 2015-03-28 09:56:19 UTC
Looks a bit like: https://bugs.documentfoundation.org/show_bug.cgi?id=81561
Comment 4 Matthew Francis 2015-04-06 14:52:50 UTC
The text stopped appearing across the following set of commits (the intermediate commits have a compile error)

Adding Cc: to mrcekets@gmail.com; Could you possibly take a look at this one? Thanks


commit 8c673fa8af0ac7419b6b6d03621d91d44a87ca7a
Author: Marco Cecchetti <mrcekets@gmail.com>
Date:   Fri Aug 24 10:55:30 2012 +0200

    Now debugging code is conditionally compiled and JavaScript debug log are turned off.

commit f77bd4a7c83e8d84655f4e3a4f3c6c44a735053e
Author: Marco Cecchetti <mrcekets@gmail.com>
Date:   Mon Aug 20 20:22:09 2012 +0200

    some improvement in making text animation compatible with text selection

commit df9a436a85fa281cd53d46fdb832965d36aa9135
Author: Marco Cecchetti <mrcekets@gmail.com>
Date:   Sat Aug 18 19:25:17 2012 +0200

    Handled META_BMPSCALE_ACTION, supported hyperlinks, text selection support.

commit dd188c470acbd6151b4ed6b71b194ed0bb3c2685
Author: Marco Cecchetti <mrcekets@gmail.com>
Date:   Wed Aug 15 22:32:42 2012 +0200

    Now MasterPage text fields work, list items are detected correctly,  some effect work on text.

commit 5626e723945eb39ed211a26ba5386ee486b8a4e8
Author: Marco Cecchetti <mrcekets@gmail.com>
Date:   Sat Aug 4 17:44:13 2012 +0200

    text-export: meta-action based implementation
Comment 5 itsGord 2015-07-11 14:18:25 UTC
Reproducible with LO 4.1.4.2, Win 7 SP1

Steps done:
1. Open the attached odg file
2. Go to FILE -> EXPORT and select as file type SVG and click Save
3. Open the SVG file
Comment 6 Robinson Tryon (qubit) 2015-12-13 11:12:17 UTC Comment hidden (obsolete)
Comment 7 Xisco Faulí 2016-09-26 15:34:39 UTC
Adding Cc: to Marco Cecchetti
Comment 8 QA Administrators 2018-06-18 02:42:34 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2018-06-19 11:53:30 UTC
still repro in LibreOffice 6.1 beta 2. Text in braces is missing in SVG
Comment 10 QA Administrators 2019-06-20 02:50:01 UTC Comment hidden (obsolete)
Comment 11 Regina Henschel 2019-06-20 13:03:13 UTC
The problem still exists in Version: 6.4.0.0.alpha0+ (x64)
Build ID: 7aaa7212f2f37606b34d44a039398f05c02d5660
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-11_23:48:14
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 12 V Stuart Foote 2021-04-10 15:24:32 UTC
*** Bug 92678 has been marked as a duplicate of this bug. ***
Comment 13 V Stuart Foote 2021-04-10 15:25:15 UTC
*** Bug 99769 has been marked as a duplicate of this bug. ***
Comment 14 Rajasekaran Karunanithi 2022-11-22 22:09:43 UTC
This problem still exists.Reproducable in L.O 7.4.2.3 under Windows 10(x64).

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ta-IN (en_IN); UI: en-US
Calc: threaded
Comment 15 Stéphane Guillou (stragu) 2023-11-05 16:51:14 UTC
Reproduced in recent trunk build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 31fb3045dabdb27d913712f3abcade315e3ea9bd
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Text is not in the SVG source. Removing Direct Formatting or shape rotation before export does not fix it.

Xisco, I thought you might find this one interesting?
Comment 16 Stéphane Guillou (stragu) 2023-11-05 16:51:42 UTC
Created attachment 190660 [details]
minimal reproducer ODG based on original