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 [details] 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@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
Created attachment 173222 [details] example slide to export from Impress to SVG Another slide to export from Impress to SVG, with a variety of objects included. All objects are affected.
Created attachment 173223 [details] SVG exported with LO Impress 7.3 Example exported SVG, with <g visibility="hidden"> objects.
Created attachment 173272 [details] svg exported by LibreOffice 7.1.3.2 The same problem, couldn't see anything in Sozi. svg exported from: Version: 7.1.3.2 / LibreOffice Community Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: kf5 Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded Also visibility is set as hidden
Manually changing (with text editor) from visibility="hidden" to visibility="inherit" could make it shown in Sozi.
Marking as "NEW" as was confirmed by Franklin in Comment 3.
By updating the CSS style of *all* objects, assign "visibility" to "visible" in Inkscape, objects can be shown in Sozi. So please take a look the CSS style of exported objects.
Reproduced on Windows 10 as well: visibility of objects is set to "hidden". Version: 7.0.6.2 (x64) Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-AU (en_AU); UI: en-US Calc: threaded
Reproduced with older version too: Version: 6.2.5.2 Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); UI-Language: en-US Calc: threaded
Dear stragu, 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
Repro in recent trunk build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ff3fb42b48c70ba5788507a6177bf0a9f3b50fdb CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded as well as in 6.0.0.3. Regression as 5.0.0.5 would export with all objects visible (only a master slide number element has the hidden property). (And file would be about a tenth in size.)
This seems to have begun at the below commit in bibisect repository/OS bibisect-linux-64-5.2. Adding Cc: to Marco Cecchetti ; Could you possibly take a look at this one? Thanks ec0e5b057dc3cbbda20e94e608eb7005432d6b68 is the first bad commit commit ec0e5b057dc3cbbda20e94e608eb7005432d6b68 Author: Jenkins Build User <tdf@pollux.tdf> Date: Thu Dec 7 10:57:55 2017 +0100 source 154521777f8c551f10ffbe414891df9d2a529ae3 20459: svg export: no more an experimental feature | https://gerrit.libreoffice.org/c/core/+/20459
@raal Thanks for bibisecting this, it might be worth to check further with experimental mode turned on.
(In reply to Aron Budea from comment #12) > @raal Thanks for bibisecting this, it might be worth to check further with > experimental mode turned on. I have verified that experimental mode makes no difference, the regressing commit is the same.