Bug 23590 - deleted files instead of copying them
Summary: deleted files instead of copying them
Status: CLOSED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-03 08:33 UTC by sinnfrei
Modified: 2002-09-16 14:43 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 sinnfrei 2001-04-03 08:22:51 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konqueror
Version:           KDE 2.1.0 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: SuSE 6.4

I opened two "windows" within konqueror to copy files from one directory to another. By mistake I did not choose _different_ directories but I copied the same files from one directory to the _same_ directory. (This sounds silly but it was _by mistake_ and: hey! it can happen can't it?). Konqueror asked if it should replace all the files and still I did not notice and answered "yes". Instead of replacing the files konqueror deleted ALL existing files in the directory (i.e. the filenames exist but they are EMPTY). I may know the technical reason for this behaviour (konqueror deletes the existing file and then there is nothing left to duplicate ...).

BUT THIS SEEMS TO BE A VERY SEROIUS BUG TO ME. Konqueror should notice that it won't be able to do what I ask it to do esp. when it means that all my files are lost.

(Submitted via bugs.kde.org)
Comment 1 David Faure 2001-04-03 14:51:55 UTC
On Tuesday 03 April 2001 09:22 sinnfrei@gmx.net wrote:
> Package: konqueror
> Version: KDE 2.1.0 
> Severity: normal
> Installed from:    SuSE RPMs
> Compiler:          Not Specified
> OS:                Linux
> OS/Compiler notes: SuSE 6.4
> 
> I opened two "windows" within konqueror to copy files from one directory to another. By mistake I did not choose _different_ directories but I copied the same files from one directory to the _same_ directory. (This sounds silly but it was _by mistake_ and: hey! it can happen can't it?). Konqueror asked if it should replace all the files and still I did not notice and answered "yes". Instead of replacing the files konqueror deleted ALL existing files in the directory (i.e. the filenames exist but they
> are EMPTY). I may know the technical reason for this behaviour (konqueror deletes the existing file and then there is nothing left to duplicate ...).
> 
> BUT THIS SEEMS TO BE A VERY SEROIUS BUG TO ME. Konqueror should notice that it won't be able to do what I ask it to do esp. when it means that all my files are lost.

Oh boy. Never realized that this could happen nor what would happen.
Ok I added a check and an error message (in both branches of CVS).
Thanks much for the report - and apologies for the data loss :(

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/
KDE Making The Future of Computing Available Today