Bug 176689 - No warning when timetracker file is overwritten externally
Summary: No warning when timetracker file is overwritten externally
Status: RESOLVED INTENTIONAL
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Thorsten Staerk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 10:47 UTC by Christoph Lange
Modified: 2009-01-13 00:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.