https://bz.apache.org/ooo/show_bug.cgi?id=126990

--- Comment #20 from John <[email protected]> ---
I used to help on the forum where I had about 10,000 posts as John_Ha

I am pretty certain that a file full of ##### is caused by OO buffering the
WRITE,  The sequence of events is

1  User saves file.
2  File is written to buffer
3. User shuts down PC (typically slams the laptop lid shut) BEFORE buffer has
been written to disk
4. The file is full of #####. 

See the Writer [Tutorial] How to find and un-delete AOO/LO temporary files
which has Why is my Writer file full of #####? at
https://forum.openoffice.org/en/forum/viewtopic.php?p=493247#p493247 which
includes:

Secondly, no-one has yet identified the precise reason for how this corruption
occurs. It is strongly suspected that files with ##### are created when the PC
hangs, crashes, suffers a power cut, or is powered off before it has flushed
its buffers to disk. AOO has successfully written the file to the buffer in
memory, but the PC crash prevents the buffer contents being written to disk.
There can be a delay of several seconds - I have seen five or more seconds
reported - before the buffer starts to be written to disk.

Despite the file having a .odt or .ods or ,odp etc qualifier, a file full of
#### is not a properly formed .od* ZIP file. Instead, it is a flat ASCII text
file which is full of null characters. When such a file is opened by AOO/LO, it
opens in Writer and the user is asked which ASCII Filter should be applied.
This is because AOO/LO sees it is a flat ASCII text file and AOO/LO Writer
needs to be told what characters to expect in the file.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to