[Bug 75512] New: CVS commits causes KDevelop to display the file as being edited from outside

Simon Ejsing simon at esoft.dk
Wed Feb 18 13:48:06 UTC 2004


------- 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=75512      
           Summary: CVS commits causes KDevelop to display the file as being
                    edited from outside
           Product: kdevelop
           Version: 3.0.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: simon esoft dk


Version:           3.0.0 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
OS:          Linux

When I commit a file in KDevelop using the CVS menu (right-click -> CVS -> Commit) the file is commited as it should be, but afterwards the file I'm editing always shows up as edited from outside KDevelop (the disk icon on the tab is showing). Pressing F5 (reload) is the only way to make the icon go away, but it causes KDevelop to display a warning dialog about loosing data.

A CVS commit does not change the file contents, so this shouldn't be neccesary? I'm thinking it might be caused because KDevelop uses the last accessed time instead of the modified time of the file? This seems to be correct as the bug is reproducable by just copying a file opened within KDevelop to eg. /tmp/test.php

To reproduce:
- Open a file within KDevelop
- Open a terminale
- cd to directory of the opened file
- cp the file to /tmp
- Press reload (F5) within KDevelop




More information about the KDevelop-devel mailing list