https://bz.apache.org/ooo/show_bug.cgi?id=126682
orcmid <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #11 from orcmid <[email protected]> --- (In reply to John from comment #9) > This "fault" can always be reproduced by: [ ... ] > The questions are: > > 1 Why does Writer use a generally available folder on the PC accessible to > any application for these temporary files? Surely it would be better to use > a temporary folder in the AOO User Profile where files will be safe from > accidental deletion. Note that some disk cleaning utilities delete *.* from > the temporary folder, some only deleted files aged over 24 hours. > > 2 What is deleting temporary image files from the "available to anyone on > the PC" temporary folder? > > 3 Why does Writer not mark these temporary IMAGE files as WRITE PROTECT or > OPEN IN AOO to prevent them being deleted? (In reply to John from comment #10) > 4 Note that Writer marks the file in the temporary folder which contains > the text as OPEN IN AOO so if you do try to delete *.*, the text content is > not lost. > > I am sure this explains why images alone disappear and not text. Thanks for the great forensic work, John. This might not be the whole story, but arranging for temporary files to not be deleted automatically may be very effective. Keeping very many files open might be an issue, but there may be a way to keep the folder from being deleted until the application is ready to do so. There are some edge cases that need to be looked into, such as the folder being forgotten and not deleted as the result of a mishap. We need to look into the use of the user profile for this as an alternative, since it should be easier to clean up any dangling residue from no-longer-open documents. Thanks again. I am going to mark this as confirmed even though we will need to see if that is verifiable by the reporters after any remedy is released in a future AOO version. -- You are receiving this mail because: You are the assignee for the issue.
