Bug 437330

Summary: kget start is slow
Product: [Applications] kget Reporter: medin <med.medin.2014>
Component: generalAssignee: KGet authors <kget>
Status: CONFIRMED ---    
Severity: normal CC: hsantanna, wbauer1
Priority: NOR    
Version: 21.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description medin 2021-05-18 23:30:22 UTC
Compared to Uget, Kget starts really slow and takes time to show tray icon.
Comment 1 Henrique Sant'Anna 2021-05-19 00:55:03 UTC
I could confirm that with my main user and some complete downloads on the list, starting kget that way is abnormally slow to start compared no any other KDE apps.

But I couldn't reproduce this with a new user and with empty kget download list.
Comment 2 medin 2021-05-19 01:11:20 UTC
(In reply to Henrique Sant'Anna from comment #1)
> I could confirm that with my main user and some complete downloads on the
> list, starting kget that way is abnormally slow to start compared no any
> other KDE apps.
> 
> But I couldn't reproduce this with a new user and with empty kget download
> list.

It seems it rechecks all (already) donwloaded files urls, If I start it from terminal it shows the following messsages :

 Verifying Metalink/HTTP Status
Mime Type:  "application/xml"
No Metalink HTTP response found
 Verifying Metalink/HTTP Status
Mime Type:  "application/zip"
No Metalink HTTP response found
 Verifying Metalink/HTTP Status
Mime Type:  "application/vnd.appimage"
No Metalink HTTP response found
 Verifying Metalink/HTTP Status
Mime Type:  "application/octet-stream"
No Metalink HTTP response found
 Verifying Metalink/HTTP Status
Mime Type:  "application/octet-stream"
No Metalink HTTP response found
 Verifying Metalink/HTTP Status
Mime Type:  "application/octet-stream"
No Metalink HTTP response found
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
"My Downloads"
"My Downloads"
"My Downloads"
"My Downloads"
Recalculate limits? true
"My Downloads"
"My Downloads"
"My Downloads"
"My Downloads"