Bug 238788 - Doesn't save downloads list; loses all downloads if killed
Summary: Doesn't save downloads list; loses all downloads if killed
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: 0.8.1
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-05-25 15:02 UTC by Adam Porter
Modified: 2018-10-21 04:47 UTC (History)
1 user (show)

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 Adam Porter 2010-05-25 15:02:16 UTC
Version:           0.8.1 (using KDE 4.4.2) 
OS:                Linux

I had imported a bunch of URLs into KGet.  It was great that it was able to automatically dig them out of a Firefox DownThemAll SQLite file.  A little while later, X crashed, and when I restarted KGet, the download list was empty.

Reproducible: Always

Steps to Reproduce:
1.  Add some downloads to KGet.
2.  Kill KGet.
3.  Restart KGet.

Actual Results:  
The downloads are gone.

Expected Results:  
KGet should have saved the download list.  It should update it every 15 seconds, and it should update it every time a download's status is changed, e.g. when a download is completed, added, paused, etc.

OS: Linux (x86_64) release 2.6.32-22-generic
Compiler: cc
Comment 1 Matthias Fuchs 2010-05-25 16:56:51 UTC
Actually that is what it does.

Currently (in 4.4 and trunk) it works this way:
A download gets added/removed/moved/finishes a save is being requested.

When it takes 5 seconds until it is finally saved, if inbetween another download gets added it won't change the time, i.e. if at that point only 3 seconds were needed then after adding another download still only 3 seconds are needed.

The Transfers also get saved when KGet is closed.


So I can't reproduce your issue, it might be that you killed it before 5 seconds passed.
Comment 2 Adam Porter 2010-05-27 08:27:07 UTC
Thanks for your reply, Matthias.  However, that's not what happened.  It was at least 15 minutes between when I added the downloads to KGet and when X crashed, but when I restarted KGet, the download list was completely empty.
Comment 3 Matthias Fuchs 2010-05-27 10:52:43 UTC
Ok, can you please post the debug output of KGet?
If you have compiled it yourself make sure to compile it in debug mode.

Can you preoduce it always when simply killing KGet or when killing X? Can you please post the version number of KGet (Help/About KGet)?
Comment 4 Matthias Fuchs 2010-06-06 23:58:14 UTC
nt
Comment 5 Andrew Crouthamel 2018-09-20 22:11:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-21 04:47:00 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!