Bug 106200 - Inserted SVG images with text in flowRoot / flowPara tags is not visible
Summary: Inserted SVG images with text in flowRoot / flowPara tags is not visible
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.2.5.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-26 15:30 UTC by menturi
Modified: 2017-02-26 21:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
SVG file including working and bugged text (5.47 KB, image/svg+xml)
2017-02-26 15:32 UTC, menturi
Details
hiddentext.svg inserted into a LO text document (18.53 KB, application/vnd.oasis.opendocument.text)
2017-02-26 15:33 UTC, menturi
Details
hiddentext.svg viewed in Inkscape (91.72 KB, image/png)
2017-02-26 15:34 UTC, menturi
Details
Screenshot of hiddentext.svg inserted into a text document (47.50 KB, image/png)
2017-02-26 15:34 UTC, menturi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description menturi 2017-02-26 15:30:39 UTC
Description:
An SVG with text using <flowPara> and <flowRoot> tags does not show when inserted into a LibreOffice text document. This can be seen in the attached example. The file hiddentext.svg contains uses two cases: with <flowPara> and related tags, and with <text> tag. The <text>-based text does show, however, the <flowPara>-based text does not show. Screenshots are included.

This was tested using the attached files in LibreOffice 5.2.5.1 (x64) on a Windows 7 machine.

Steps to Reproduce:
1. Download the attached SVG.
2. Insert this SVG image into a LibreOffice Writer text document (or Draw, etc.).
3. The text "Hidden text" will not be visible, but should be.


Actual Results:  
For the attached example, the document does not show "Hidden text".

Expected Results:
For the attached example, the document should show "Hidden text".


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 menturi 2017-02-26 15:32:32 UTC
Created attachment 131479 [details]
SVG file including working and bugged text

"Hidden text" uses the <flowPara> and <flowRoot> tags.

"Visible text" uses the <text> tag.
Comment 2 menturi 2017-02-26 15:33:11 UTC
Created attachment 131480 [details]
hiddentext.svg inserted into a LO text document
Comment 3 menturi 2017-02-26 15:34:03 UTC
Created attachment 131481 [details]
hiddentext.svg viewed in Inkscape

This correctly shows both the "Hidden text" and "Visible text".
Comment 4 menturi 2017-02-26 15:34:49 UTC
Created attachment 131482 [details]
Screenshot of hiddentext.svg inserted into a text document

"Hidden text" is not visible, but "Visible text" is.
Comment 5 Xisco Faulí 2017-02-26 21:25:39 UTC
It looks like LibreOffice behaviour is correct and Inkscape's is incorrect.
Firefox and Chrome display the image the same way as in LibreOffice.
Closing as RESOLVED NOTABUG