Re: Moving open files



2008/7/7 Derek Broughton <news@xxxxxxxxxxxxxx>:
Dotan Cohen wrote:

2008/7/7 Derek Broughton <news@xxxxxxxxxxxxxx>:
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.

In my opinion, and the opinion of he who 'lost' his data, there should
be a lock file.

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 :-)

Thanks, I will file it. Maybe it could be optional.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Do you have a Knowledge Officer?
    ... expressing my opinion or my experience" and seems to expect us to "infer" ... Weasel words are almost always intended to deceive or draw attention from ... But the integration work is huge. ... is actually the opposite - it means that you have an intermittent bug ...
    (comp.lang.cobol)
  • Re: Do you have a Knowledge Officer?
    ... opinion, unless he supports it with verifiable facts and credible ... Sure, it's more accurate, but debates don't turn on the accuracy of facts, ... programmers are generalists having control over the ... is actually the opposite - it means that you have an intermittent bug ...
    (comp.lang.cobol)
  • Re: 2.6.14-rt4 (ide_core / busybox)
    ... BUG: busybox/738, lock held at task exit time! ... PCI: Via IRQ fixup for 0000:00:07.1, ...
    (Linux-Kernel)
  • Re: [Full-Disclosure] USDOJ BRAINWASHING TECHNIQUES
    ... Such is their opinion; allas. ... of the law that can turn one into the other. ... vulnerable lock. ... It would be quite silly to legalize "hacking into" as well as it would ...
    (Full-Disclosure)
  • RE: [patch] aio: fix buggy put_ioctx call in aio_complete
    ... So that's a refcounting bug. ... I'm worried about longer lock hold time in aio_complete and potentially ... I agree and I would like to bring your patch on "DEFINE_WAIT..." ... patch you mentioned above in the waiter path. ...
    (Linux-Kernel)