Bug#1938: Add existing files overwrites file contents [16:27,13.09.99]

Trevor Maydaniuk trevor at dhcp-vcr-97.vcr.echarge.com
Mon Sep 13 23:39:38 UTC 1999

Package: kdevelop
Version: 1.0beta2
Severity: normal

Bugreport ID : 16:27,13.09.99

Originator	: Trevor Maydaniuk
E-Mail	: trevor at nospam_echarge.com

Subject : Add existing files overwrites file contents

Error Class	: software bug
Error Location: I don´t know
Priority	: medium
Bug Description ---------------------------

When adding files that already exist in the project directory,
kdevelop deletes the contents of the files.

How to repeat the error -------------------

create a source file in a valid kdevelop project directory.
Open the kdevelop project whose directory you added the 
file to.  Select "add existing file" and choose the file you just
created.  The system will ask if you want to add the std. header
information, select yes or no.  The system will overwrite the
source file with just the header alone, deleting the actual

Bugfix or Workaround ----------------------

It is often necessary to move files within a project, for instance
if you notice the project is getting big and want to add 
structure to it using sub-directories, or alternately if you make
a mistake when creating a file in a project.  The user should
be allowed to add files within the project sub-directory 
structure without necessarily causing a copy-operation to
take place.

System Information ------------------------

KDevelop version	: 1.0beta2
KDE version		: 1.1.1
QT version		: 1.44-10mdk
OS/Distribution	: Linux Mandrake 6.0
Compiler		: glibc 2.1.1-9 gcc ??

More information about the KDevelop-devel mailing list