[Libreoffice-bugs] [Bug 143082] New: SVG export of slide shows blank in some apps, hides objects with <g visibility="hidden">

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 26 13:57:31 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143082

            Bug ID: 143082
           Summary: SVG export of slide shows blank in some apps, hides
                    objects with <g visibility="hidden">
           Product: LibreOffice
           Version: 7.0.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: stephane.guillou at member.fsf.org

Description:
Exporting an Impress slide to SVG results in a file that looks blank to many
applications, because of the <g visibility="hidden"> tags in the source.

Applications that show the objects:
- Firefox 89.0.1
- Gnome Web 3.28.6
- Chromium 91.0.4472.101
- Inkscape 1.1
- LibreOffice Impress 7.0, 7.2, 7.3
- other LibreOffice components insert the SVG as expected

However, other applications don't show the objects:
- gThumb 3.6.1
- thumbnails in Nautilus (Gnome Files) 3.26.4
- GIMP 2.10.24
- Sozi 20.05.09
- Draw.io 14.6.13

Draw does not have the same issue when exporting SVGs.

Steps to Reproduce:
1. Open Impress
2. Add various objects to slide (shapes, images, text boxes...)
3. File > Export...
4. Export to SVG
5. Open the file in another application

Alternatively, start at step 3 with attachment 173218

Actual Results:
Some applications don't show the objects (gThumb, Sozi, GIMP...)

Expected Results:
All applications that support SVGs should show all objects.


Reproducible: Always


User Profile Reset: No



Additional Info:
Editing the source of the SVG and replacing all occurrences of:

g visibility="hidden"

With:

g visibility="visible"

... results in a file that displays properly in all applications.

Tested on:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: f446a203fa2897bab8ae7686c948a8bf060675c6
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-06-24_15:16:38
Calc: threaded

Version: 7.2.0.0.beta1 / LibreOffice Community
Build ID: c6974f7afec4cd5195617ae48c6ef9aacfe85ddd
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210626/51f14168/attachment.htm>


More information about the Libreoffice-bugs mailing list