Created attachment 122255 [details]
screenshot after opening previously saved document
I edited a docx document, did some changes and added some comments, then saved it.
When I opened the document again the next day, I found out the content of the last comment I had added was gone. The comment is there but it's empty.
Now, you'll probably say that I thought I saved the document but didn't.
Let's even suppose that is the case (which is definitely not): when I closed Writer, I certainly didn't get the warning that there were unsaved changes. So, either (a) the comment was not saved, or (b) I didn't get a warning about unsaved changes when closing Writer: either way there's a huge critical bug that causes data loss, rendering Writer unreliable to the point that it's not safe to use.
Anyway, believe me it's (a).
Could you verify the problem still happens with 5.1?
Could you verify it yourself? I'd rather not mess around with versions not installed through official Ubuntu updates.
What I can tell you is that on 22.214.171.124 I can SYSTEMATICALLY reproduce it in the following way:
1 - open the document (it's a docx)
2 - add a comment
3 - add another comment: write the comment text without ever clicking outside the comment box or loosing focus to the comment box
4 - save the document while the comment box still has focus
5 - close Writer
Result: the last comment is saved empty, and no warning is given when closing Writer.
Note that if you click outside the comment box after step 3 and before step 4, the comment will be saved as expected.
Also (and this is kind of "consistent" in its wrongness), if you click outside the comment box after step 4 (saving) and before step 4 (quitting), you do get the save document prompt as expected, and the saving button becomes enabled when the comment box looses focus.
Basically, the issue seems to be that until the comment box looses focus, everything that has been typed into it is somehow not "committed" and not considered as some existing changes to the document. It's like what you have typed does not exist (though it's visible).
(In reply to teo8976 from comment #2)
> Could you verify it yourself? I'd rather not mess around with versions not
> installed through official Ubuntu updates.
I could and I will, if you confirm it, but I'd rather delegate it first to you as I do so much testing.
The parallel install will not mess anything up.
I guess you saved using "save" toolbar button or "save" menu item. A duplicate then. If not, please reopen and mark as different.
*** This bug has been marked as a duplicate of bug 68604 ***