[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    [Bug 77185] Open a file in read-only mode if it has already been
From:       Christian Mueller <cmueller () gmx ! de>
Date:       2004-03-13 7:26:55
Message-ID: 20040313072655.932.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=77185      




------- Additional Comments From cmueller gmx de  2004-03-13 08:26 -------
> A smarter approach tahn the proposed, and that 
> could make everyone happy could be the one adopted 
> by KATE - warn a user whenever a file has changed 
> on disk - menaing that the other party using 
> it had commited his changes - and offer to reload. 

Yes, that's a common approach, not only in KDE.  
Emacs does it this way, and Eclipse even warns you as soon as 
it detects a change, even before you try to save. 

But: 
- Does it work over IOSlaves? 
- Does it work with automatic down/uploading (for apps that don't 
  support IOSlaves directly, like OO.o)? 
- What will you do if the app detects the file has changed
  (after you have spent an hour editing it)? 
  How will you merge a koffice document?  
- It would be better than nothing, but being notified that 
  you may have issues with concurrent changes *before* you make  
  yours is a far superior solution, IMHO.

So, no, this not an approach to make everyone happy.
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic