Bug 151579 - Exporting chart as svg or pdf creates a 0 byte file
Summary: Exporting chart as svg or pdf creates a 0 byte file
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.6.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-16 22:56 UTC by documentfoundation.hei
Modified: 2023-10-28 03:13 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description documentfoundation.hei 2022-10-16 22:56:04 UTC
Description:
When exporting a generated graph to svg og pdf the resulting file has 0 bytes. I only have LO Calc installed, not the rest of LO.

Steps to Reproduce:
1. Create a graph from some data
2. Right click on the graph and select Esport as image
3. Choose to save it as an svg or pdf

Actual Results:
A file is created instantly, but it has 0 bytes, and does not actually contain the image

Expected Results:
The image should be exported


Reproducible: Always


User Profile Reset: No



Additional Info:
No other alternative for file types has this issue.
Comment 1 m_a_riosv 2022-10-17 02:12:50 UTC
How do you install only calc?

Please copy the information on Menu/Help/About LibreOffice.

Test with a Menu/Help/Restart in Safe Mode.
Comment 2 documentfoundation.hei 2022-10-17 12:27:54 UTC
I installed calc trough Gnome Software, in Nobara Linux.

I now tried in safe mode. Same thing happened.

Here's the info from About:

Version: 7.3.6.2
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: nb-NO (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 m_a_riosv 2022-10-17 12:40:50 UTC
Ok, I don't know if installing only calc, can break some dependencies.

Let's see, is someone with more acknowledge, can find a solution.
Comment 4 raal 2022-10-17 15:31:22 UTC
No repro, tested svg export
Version: 7.3.6.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Ubuntu package version: 1:7.3.6-0ubuntu0.22.04.1
Calc: threaded
Comment 5 Roman Kuznetsov 2022-11-29 19:57:38 UTC
(In reply to m.a.riosv from comment #3)
> Ok, I don't know if installing only calc, can break some dependencies.

It can be easy

@documentfoundation.hei@antichef.net please install all LibreOffice packages on your PC and then try retest your problem

But even better would be if you will try to install LibreOffice from our site

https://www.libreoffice.org/download/download-libreoffice/
Comment 6 Robert Großkopf 2022-11-30 14:40:27 UTC
Tested this with complete installed LO, not only Calc.

SVG: graph will be exported without any problems in LO 7.3.6.2, also LO 7.4.3.2
PDF: graph won't be exported in LO 7.3.6.2, will be exported in LO 7.4.3.2

My system: OpenSUSE 15.3 64bit rpm Linux
Version: 7.4.3.2 / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

So I couldn't confirm the bug in the version of LO, which isn't end of life.
Comment 7 fenugrec 2023-03-30 15:44:00 UTC
Probably dupe of 134370 . See my comments there; I suggest trying a different 'SAL_USE_VCLPLUGIN' env setting. I had similar issues and that was a workaround.
Comment 8 QA Administrators 2023-09-27 03:15:41 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2023-10-28 03:13:34 UTC
Dear documentfoundation.hei,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp