Bug 251441 - KGet creates deleted target folders of completed downloads in the list again
Summary: KGet creates deleted target folders of completed downloads in the list again
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 13:44 UTC by Joachim Mairböck
Modified: 2010-09-20 18:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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