Issue 125767 - Images lost in document when autosave takes place AND previous version was saved on another platform.
Summary: Images lost in document when autosave takes place AND previous version was sa...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 4.1.1
Hardware: All All
: P3 Normal with 6 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-19 14:20 UTC by Alain Baudhuin
Modified: 2017-05-20 11:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The file last saved on mac, which causes a loss of images when auto-saveded on Windows. (247.84 KB, application/vnd.oasis.opendocument.text)
2014-10-19 14:20 UTC, Alain Baudhuin
no flags Details
The file last saved on Windows, which causes a loss of images when auto-saveded on Mac. (245.02 KB, application/vnd.oasis.opendocument.text)
2014-10-19 14:21 UTC, Alain Baudhuin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Alain Baudhuin 2014-10-19 14:20:48 UTC
Created attachment 84081 [details]
The file last saved on mac, which causes a loss of images when auto-saveded on Windows.

This is a bug we have been struggling with for weeks, on large documents, causing the loss of dozens of figures with several versions of OO. We originally thought is was a duplicated of 125289 or 125290 and were very happy to see those bugs fixed in v4.1.1. 
It didn't solve our problem though, and we finally managed to reproduce it reliably on a small document and on the last version of OO. It appears to be caused by the background save of recovery information on Windows with a file last saved on Mac and conversely. The bug does not appear when editing the document on the platform it was saved on.

**** To reproduce the bug on Windows 7, OO 4.1.1:
First start OO, and set auto-save delay to 1 minute (only once) in Options->OpenOffice->Load/save

- Open file lastSavedOnMac2336.odt, which was last saved on Mac, using OO v4.1.1.
- click in line "c) Soit (...)" of question 1 and add a space anywhere.
- do not use OpenOffice for 1 minute, in order for the autosave to run.
- The figures are lost: scroll down to make the first figure disappear and then scroll up again: it's gone and displays the "link broken" symbol with the "reading error" message. ("Erreur de lecture" in French). This works both with the scrollbar or the mouse wheel. Saving the document after the autosave occured, saves a document in which the figure(s) are missing.
 
It might be relevant to note that we use hidden characters in our documents and that they are being displayed on screen (tools->options->writer->"aide au formattage" (don't know the English translation for this one)->Display hidden characters is on, and non-printable caracters are being displayed (ctrl-F10). 
 
****To reproduce the bug on MacBook Air, Processor Interl 1.8G, OS X 10.7.4. with OO 4.1.1

First start OO, and set auto-save delay to 1 minute (only once) in Options->OpenOffice->Load/save

- Open file LastSavedOnWindows2319.odt, which was last saved on Windows 8, using OO 4.1.1
- Proceed exactly as described above.

*** Please note that the bug cannot be reproduced opening file LastSavedOnWindows on a mac with OO v4.0.1 so we suspect this is a regression caused by the processing of bugs 125289-125290.
Comment 1 Alain Baudhuin 2014-10-19 14:21:52 UTC
Created attachment 84082 [details]
The file last saved on Windows, which causes a loss of images when auto-saveded on Mac.
Comment 2 Davy Rouillard 2015-01-07 13:57:35 UTC
*** This issue has been confirmed by popular vote. ***
Comment 3 Davy Rouillard 2015-01-08 15:39:01 UTC
Thanks to Mr Baudhuin for the instructions that allow to reproduce the issue. We have similar problems for months but could not reproduce it easily until now. 
With the given instructions and the document lastSavedOnMac2336.odt, I could reproduce the issue on windows XP and OO 4.4.1