Bug 90053 - Embedded SVG images in document are not shown
Summary: Embedded SVG images in document are not shown
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.1.0
Keywords:
: 89273 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-17 10:11 UTC by Michiel van der Wulp
Modified: 2016-10-25 19:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document that shows the problem (25.81 KB, application/vnd.oasis.opendocument.text)
2015-03-20 10:42 UTC, Michiel van der Wulp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel van der Wulp 2015-03-17 10:11:16 UTC
When opening a .odt text document that contains some images which were inserted as SVG files, then these images are not shown at all in the Android viewer.
Comment 1 Robinson Tryon (qubit) 2015-03-19 14:21:11 UTC
(In reply to Michiel van der Wulp from comment #0)
> When opening a .odt text document that contains some images which were
> inserted as SVG files, then these images are not shown at all in the Android
> viewer.

Hi Michiel,
Please attach an example document showing this behavior, and let us know what version of LO you're using for testing on Android (including the Build ID).

If the document w/SVG opens fine in a desktop version of LibreOffice, please let us know the version/OS of that setup.

Thanks!

Status -> NEEDINFO
Comment 2 Michiel van der Wulp 2015-03-20 10:42:07 UTC
Created attachment 114207 [details]
Test document that shows the problem

I attached a simple document in .odt format with 2 images: in the Android viewer, the PNG image is shown, the SVG image not.
The desktop version of Libreoffice shows both correctly.
Comment 3 Robinson Tryon (qubit) 2015-03-20 12:44:36 UTC
(In reply to Michiel van der Wulp from comment #2)
> Created attachment 114207 [details]
> I attached a simple document in .odt format with 2 images: 

TESTING with 4.5.0.0.alpha0+ (2e1dfb3 - from this week) on Android 5.1

> in the Android
> viewer, the PNG image is shown, the SVG image not.

CONFIRMED: The png stick figure is shown, but there is an empty space where I'd expect to see the SVG image.

Status -> NEW

> [On the desktop]

TESTING on Ubuntu 14.04 with 
Version: 4.5.0.0.alpha0+
Build ID: bdad6d0fe492a2334cb27ef54fc5d1cba17d1970
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-03-19_00:36:37
Locale: en_US

> The desktop version of Libreoffice shows both correctly.

CONFIRMED: Both stick figure images appear.
Comment 4 Christian Lohmaier 2015-10-03 20:51:47 UTC
*** Bug 89273 has been marked as a duplicate of this bug. ***
Comment 5 Commit Notification 2015-10-11 16:15:16 UTC
Christian Lohmaier committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=888535f1c4e8617786c1cb6151aa5ef992b0c30f

tdf#90053 add svgio to Android Viewer, so display of svg works

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Christian Lohmaier 2015-10-24 17:07:14 UTC
setting to fixed..
Comment 7 Michiel van der Wulp 2015-10-29 10:03:32 UTC
Tested on V5.1.0.0.alpha1+ Build ID 5b791ec:
Indeed, this problemis fixed!
Thanks a lot,
regards,
Michiel