Bug 131800 - FILESAVE export empty document "Image filter not found" for .GIF and .PNG - insufficient error message
Summary: FILESAVE export empty document "Image filter not found" for .GIF and .PNG - i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Error-Messages
  Show dependency treegraph
Reported: 2020-04-01 14:30 UTC by MBB
Modified: 2023-05-08 19:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Table of error/succes on export modes (784 bytes, text/plain)
2020-04-01 14:30 UTC, MBB

Note You need to log in before you can comment on or make changes to this bug.
Description MBB 2020-04-01 14:30:05 UTC
Created attachment 159239 [details]
Table of error/succes on export modes

(Some?) vector image filter can not export empty documents, but the error message is too general. Because similar export actions to other formats do work, this looks like an error in the export filter. 
This may be by design or for technical reasons, but from the user side this is not obvious. 
I did a batch of testing before I noticed it seemed to be only vector shapes that gave this error. 

How to reproduce: 
Start LO draw document, do not save. Export>choose file format>export.
Add shape to the document: do not save. Export>choose file format>export.
(repeat actions after saving)

Export to 	Windows empty	Windows content		Linux empty	linux Content	Linux saved empty	windows saved empty
PDF 		success					N/A		
GIF 		fail (empty)	success (with content)	fail		success		fail			fail
BMP		success					success		success		
PNG		fail (empty)	success (with content)	Fail,		success		fail			Fail
WMF 		success					success		success

SVG		success		success+fail 		success		success

As stated in related earlier bug report, the error message should be updated

From https://bugs.documentfoundation.org/show_bug.cgi?id=123696
"Mike Kaganski 2019-10-14 06:26:14 UTC
> still a more helpful error message would be more helpful

Please file a separate issue about a better error message in case of wrong user input, which is a different problem. Thanks!"

Suggested improvement for error message: 

"warning, you are trying to export an empty document. Vector shapes do not support this" 

+ add to documentation
Comment 1 Buovjaga 2020-06-20 13:35:51 UTC
Yep, would be cool to improve the message