Apache OpenOffice (AOO) Bugzilla – Issue 123868
Detect a null file instead of asking for import filter
Last modified: 2013-12-18 05:39:15 UTC
Created attachment 82123 [details] Typical null file created by OpenOffice Sometimes (e.g. accidental PC power off) OpenOffice destroys a document and changes it to a file containing only bytes of value zero, see Bug 107487. Next attachment is a real corrupted document (I just changed the file name). Problem : When opening this junk, OpenOffice asks the user a filter to read it ! The average user then supposes that the document still contains something, selects an ASCII filter, and OpenOffice displays pages of hashes. Request for improvement : when a document is obviously destroyed, at least a warning message should be given. In the case of a document starting with lots of zero bytes, OpenOffice should say that the document contains nothing readable.
A warning message is a good idea, but not sure about a document starting with lots of zeroes.
.