Moving open files

Derek Broughton news at pointerstop.ca
Mon Jul 7 17:04:02 UTC 2008


Dotan Cohen wrote:

> 2008/7/7 Derek Broughton <news at pointerstop.ca>:
>> It can't be KDE's, because OO isn't a KDE app.
>>
> 
> KDE's Dolphin was used to move the file, I should have been clearer.

That doesn't matter though.  It's up to the application to handle the
(re)moving of a file safely.
> 
>> What, exactly, is the loss?
> 
> The original file (in the new location) does not contain the changes.
> You could argue that the changes remain in the old location, but the
> user does not know to even look there. For him, the data is lost.
... 
> As Carl-Mitchell mentioned, OOo should have locked the file. I am
> unfamiliar with file locks, but now that I know about the problem I
> will try to reproduce it locally and file a bug at OOo.

No, sorry, I don't agree with that.  You may not like the behaviour, but it
is logical.  Would you still think it's a bug if the user had just _copied_
the original, and then there were two different versions?  I can't do
exactly the same thing with Word, because it _does_ lock the file, but
that's a design choice.

By all means, file a bug report, but I wouldn't be terribly surprised if
they won't consider it.  Of course, if nobody files a bug report, they
_definitely_ won't consider it :-)
-- 
derek





More information about the ubuntu-users mailing list