Description: When exporting a document from Writer to PNG, it creates a corrupt file. Steps to Reproduce: 1. Create a document and type some text 2. Hit File->Export... 3. Choose PNG as file type and hit 'Save' 4. Hit 'Export' Actual Results: The created image cannot be opened with either Windows Photos or IrfanView, both show an error message hinting to a corrupt file. Expected Results: Exporting creates a PNG file that can be opened and used. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.5.3.2 (X86_64) / LibreOffice Community Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: threaded
Created attachment 190904 [details] Document I have tried this with This is the document I've tried it with (but I've had the issue before). Btw, JPEG export works without a problem.
Created attachment 190905 [details] ZIP with the suspectedly corrupt image (see comment) ZIP file of the suspectedly corrupt PNG file, as I couldn't attach it directly. I suspect the PNG file is actually empty (as Bugzilla told me the file is "either ... or empty").
Created attachment 190907 [details] PNG generated from your sample Looks fine for me: Version: 7.6.3.1 (X86_64) / LibreOffice Community Build ID: c4af5b1259bceea6e979e6fe2435dbee7a5a87c2 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
@m.a.riosv Interesting... Either the problem only affects my version, or there's a problem with my machine...
On Windows, got Add/remove, and select repair for LibreOffice.
@m.a.riosv I've done as instructed – I repaired my LO installation and restarted Windows. I then opened my document again and tried exporting as PNG. The issue persists. I've looked into the files using a text editor (N++) and found them to be completely empty. The issue also persists with another document.
I've just updated LO to the newest version (7.6.2.1), and the issue is gone. Apparently, this only affects the version I was using before (7.5.3.2).
Cannot reproduce with LO 7.5.8.1 on Linux x86-64, so this is probably Windows specific or specific to LO 7.5.3.x?
Then lets closed it.