Bug 398922

Summary: The external downloader won't start if I close the tab too fast right after clicking on Save
Product: [Applications] Falkon Reporter: trmdi
Component: generalAssignee: David Rosca <nowrep>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description trmdi 2018-09-21 14:44:44 UTC
I use a python script as the external downloader. When I right click on an image then click Save to download it, if I close the tab too fast right after I click on Save, the external downloader won't start.
It starts normally if I wait for a few seconds before closing the tab.

# Falkon 3.0.1 / Qt 5.11.1
Comment 1 trmdi 2019-01-27 06:16:14 UTC
Still happens in Falkon 3.0.1 / Qt 5.12.0
Comment 2 David Rosca 2019-01-27 11:38:07 UTC
There is a small delay before the download request is processed by QtWebEngine/Chromium, so there's no other way around it.

The same thing can be reproduced also when using internal manager.
Comment 3 trmdi 2019-02-03 10:25:11 UTC
(In reply to David Rosca from comment #2)
> There is a small delay before the download request is processed by
> QtWebEngine/Chromium, so there's no other way around it.
> 
> The same thing can be reproduced also when using internal manager.

I didn't mean that we have to stop that delay.

I meant that, can you make the download request be a child of Falkon's main window instead of a child of that tab? In that case, close the tab will not cancel the download request. Just a guess, I don't know how Falkon works.