https://bugs.freedesktop.org/show_bug.cgi?id=80875

David Tardon <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX
                 CC|                            |[email protected]

--- Comment #3 from David Tardon <[email protected]> ---
(In reply to comment #0)
> Created attachment 102221 [details]
> The (originally empty) file after opening in Calc.
> 
> Problem description: 
> When I manually create a 0-byte (empty) file and give it e.g. ODT extension,
> opening it in Writer shows up a document with some random characters. Also,
> Writer alters that file (without clicking to save!) so that after that the
> file has ca 1.5 kB. The file is not a valid ZIP archive, but Writer is able
> to reopen it. The same issue with Calc.

Treating (and automatically resaving) an empty file as an OLE2 object is IMHO a
bug, but it is not directly relevant to this bug report...

>  - LO should open a blank document (type of the document should correspond
> to the file's extension).

No. An empty file is never a valid ODF document. Or any other kind of document,
FWIW, with the exception of plain text. Making a special case for zero-sized
files in the all the detectors, to only detect by extension, is IMHO not worth
the trouble. Also, I am not avare of any other application doing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to