Issue 100651 - recovery can cause two versions of the same file to be open
Summary: recovery can cause two versions of the same file to be open
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.0.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: https://bugs.launchpad.net/bugs/351035
Keywords: oooqa
: 95061 (view as issue list)
Depends on:
Blocks:
 
Reported: 2009-03-29 22:21 UTC by ccheney
Modified: 2013-01-29 21:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ccheney 2009-03-29 22:21:19 UTC
You can end up with two versions of the same file open at the same time when
using recovery.

Steps:
1. open existing file
2. make sure autosave is set to a reasonably low number of minutes
3. make a few changes without saving
4. kill soffice
5. reopen OOo by clicking on the original file, or via command line
6. notice after recovery that the original file and the recovered file are both open

Normally you can't cause two versions of the same document to be open at the
same time, so this is most likely a bug, or at least bad behavior because a user
could end up not noticing and end up editing both versions of the same file...
Comment 1 ccheney 2009-03-29 22:21:49 UTC
confirmed on official OOo 3.0.1
Comment 2 Rainer Bielefeld 2010-06-18 09:30:27 UTC
*** Issue 95061 has been marked as a duplicate of this issue. ***
Comment 3 Rainer Bielefeld 2010-06-18 09:31:49 UTC
In Issue 95061 we have a hint that that problem vanished for 3.2?!

@ccheney:
Can you confirm that the problem is no longer reproducible with 3.2?
Comment 4 lddubeau 2010-12-28 15:18:30 UTC
I had previously reported in Issue 95061 but I'm going to start reporting here
since 95061 has been marked a duplicate of this one.

I encountered the problem again just now. OpenOffice died because X died. When I
resumed OO, I launched it to open a file which was already open when it died.
After recovery, I had the "same" file open twice: one had the autosaved version
(which was the NEWER version) and one had the last version I had explicitly
saved (the OLDER version).

I'm going to repeat what I said earlier: this bug can lead to data lossage
because the passage of time or the complexity of some documents may cause the
user to be confused when he has to decide which of the two windows to discard.

The version string in the About dialog is:

OpenOffice.org 3.2.1 
OOO320m19 (Build:9505)
ooo-build 3.2.1.4, Ubuntu package 1:3.2.1-7ubuntu1