https://bz.apache.org/ooo/show_bug.cgi?id=126869
--- Comment #46 from John <[email protected]> --- (In reply to Arrigo Marchiori from comment #44) I carefully repeated the test as below. All tests use fred.odt. Properties are Size: 467kB (478,676 bytes) Size on disk: 468kB (479,232 bytes) Test_1 1. Open fred.odt and make no edits 2. Start > Power > Shutdown Result: PC shuts down without AOO giving fred.odt is open warning message. This is as expected because no data is lost because the file has not been edited. Test_2 3. Open fred.odt and make an edit so it is not safe to shut down the PC as the edit is held only in memory 4. Start > Power > Shutdown Result: PC displays message saying fred.odt is open in AOO and I can prevent the shutdown. When I prevent the shutdown AOO has the "Do you want to save your changes?" pop up displayed. Conclusion. This is expected because AOO needs to protect the user data. Test_3 1. Place fred.odt on A: diskette drive 2. Double click fred.odt and make a few edits 3. File > Save. 4. Wait till green bar has stopped crossing screen. 5. Wait 2 or 3 seconds more, then Start > Power > Shutdown while file is still being written. Result: PC shuts down without AOO giving fred.odt is open warning message. Conclusion. AOO should have prevented the shutdown but AOO did not. 6. Power ON and go to diskette drive. fred.odt is present but only 96kB. .~lock.fred.odt~ is present. 7. Double-click fred.odt. Result: AOO opens with the Document recovery screen saying fred.odt is not recovered yet. 8. Choose Start recovery Result: AOO gives error message "General Error. General input/output error". 9. Choose OK. Gives Recovery failed. 10. Next. Result: AOO says fred.odt is corrupt and offers to repair the file. 11. Choose NO. Result: The file fred.odt could not be repaired and could not be opened. 12. Exit from answering questions. .~lock.fred.odt~ is no longer present on diskette. 13. Start AOO from desktop icon. Result: Offered Document recovery pop-up window for fred.odt. 14. Choose Cancel. Result: AOO opens cleanly to an empty document. 15. Open fred.odt with 7-ZIP. Result: fred.odt is a well formed ZIP container and I can extract Configurations2 and its sub-folders (0 bytes), Thumbnails and its png thumbnail (15,289 bytes), content.xml (0 bytes) and mimetype (39 bytes). content.xml has no content. Properties says Size and Size on disk are both 96.0kB (98,304 bytes). Conclusion: 1 I waited 2 or 3 seconds after the green bar stopped crossing the screen which was enough for the file to be started to be written. 2 If AOO prevents the shutdown in Test_2 why does AOO not prevent the shutdown in Test_3? A USB diskette drive is only 10 or 15 euros on ebay - it may be worth investing in one! -- You are receiving this mail because: You are the assignee for the issue.
