Bug 251441

Summary: KGet creates deleted target folders of completed downloads in the list again
Product: [Applications] kget Reporter: Joachim Mairböck <j.mairboeck>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joachim Mairböck 2010-09-16 13:44:43 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

If you have completed downloads in the list and you delete the original target folder, the folder is recreated at the next start of KGet, resultung in an empty folder.

Reproducible: Always

Steps to Reproduce:
1. Download any file to a special target folder and wait for the download to finish. Don't remove the finished download from KGet's list.
2. Optionally move the file somewhere else.
3. Delete the target folder.
4. Restart KGet

Actual Results:  
The original target folder is recreated and is empty afterwards.

Expected Results:  
No folder should be created, perhaps showing a warning in the user interface (in a non-intrusive way).
Comment 1 Matthias Fuchs 2010-09-20 18:04:42 UTC
SVN commit 1177576 by mfuchs:

Only creates the target folder if a download is started.
BUG:251441

 M  +3 -4      datasourcefactory.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1177576
Comment 2 Matthias Fuchs 2010-09-20 18:08:55 UTC
SVN commit 1177580 by mfuchs:

Fowardport r1177576
Only creates the target folder if a download is started.
CCBUG:251441

 M  +3 -4      datasourcefactory.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1177580