Bug 398922 - The external downloader won't start if I close the tab too fast right after clicking on Save
Summary: The external downloader won't start if I close the tab too fast right after c...
Status: CONFIRMED
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-21 14:44 UTC by trmdi
Modified: 2019-02-03 10:25 UTC (History)
0 users

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


Attachments

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