[Libreoffice-bugs] [Bug 80875] Other: Enhancement: Open 0-byte files as empty files

2014-07-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80875

David Tardon  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
 CC||dtar...@redhat.com

--- Comment #3 from David Tardon  ---
(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
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 80875] Other: Enhancement: Open 0-byte files as empty files

2014-07-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80875

--- Comment #2 from pe...@seznam.cz ---
Thanks, what's the result on master?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 80875] Other: Enhancement: Open 0-byte files as empty files

2014-07-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80875

--- Comment #1 from Urmas  ---
Can confirm with 4.2, but not with master.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs