Bug 176689

Summary: No warning when timetracker file is overwritten externally
Product: [Applications] ktimetracker Reporter: Christoph Lange <langec>
Component: generalAssignee: Thorsten Staerk <dev>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christoph Lange 2008-12-02 10:47:59 UTC
Version:           4.0.0 (using 4.1.3 (KDE 4.1.3), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.24-tuxonice-r4

When I accidentally overwrote my timetracker file with an older version of the file (created with the same KTimeTracker version, just from the day before), it instantly loaded the old file, and the new content was lost.  In my situation, it would even have been better if KTimeTracker had not recognized that the file had been overwritten and not tried to reload it.

If KTimeTracker reloads files automatically, it should behave like, e.g., a decent text editor, that is display a warning message that the file has been updated, and then ask the user whether he would like to reload (and lose the changes made in the file that was opened in KTimeTracker), or whether he would like to ignore the update (and keep his local changes).
Comment 1 Thorsten Staerk 2008-12-23 09:41:47 UTC
Ok, the behavior is:

If the iCal file changes, update ktimetracker's content without any user confirmation.

This behavior was introduced because it makes it possible to work together seemlessly with korganizer - you add a date in korganizer and it instantly appears in ktimetracker. This means, you can use two programs on one iCal file.

I am aware that this does not change the behavior, only explains it.
Comment 2 Thorsten Staerk 2008-12-23 14:27:42 UTC
I hate the words WONTFIX, especially towards a good bug reporter. But I do not see a possibility how to work together with other iCal processing software on one file.
Comment 3 Christoph Lange 2009-01-13 00:02:47 UTC
(In reply to comment #2)
> I hate the words WONTFIX, especially towards a good bug reporter. But I do not
> see a possibility how to work together with other iCal processing software on
> one file.
OK, I understand.  Nice!  Maybe you could advertise this thing that I first perceived as a bug more as a feature, something like "iCal cooperation mode" ;-)  That would eventually give you the opportunity to add a check box for turning this special "mode" on or off.