Page 1 of 2

[Bug] "Allow browser to download if canceled" is broken.

Posted: Mon May 28, 2018 10:51 pm
by anagrammar
Start a download. The fallback to allow the browser to take over seems to be on an arbitrary 10 second timer now. You don't need to click cancel or anything, just wait 10 seconds and FDM throws it back to the browser.

Demo:
https://www.youtube.com/watch?v=4_qsXT7u-6c

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Tue May 29, 2018 12:34 am
by Usher
Could you follow the reporting rules and provide needed software versions and other details, please?

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Tue May 29, 2018 2:23 am
by anagrammar
My bad. Chromium 66.0.3359.181 - Win 8.1 - 3.9.7 1638

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Tue May 29, 2018 1:29 pm
by Usher
FDM 3.x stays unchanged for a long time, so there must be something changed in your browser - directly or in installed browser extensions. You haven't reported the way of FDM integration with Chromium - there may be something changed there. You can also test earlier Chromium versions or another Blink-based browsers (Chrome, Opera, Vivaldi…).

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Tue May 29, 2018 10:15 pm
by anagrammar
Usher wrote:FDM 3.x stays unchanged for a long time.


I didn't think anything changed with the actual software.

Usher wrote:You haven't reported the way of FDM integration with Chromium - there may be something changed there


I'm using the extension you provide. It was just updated the other day, which was when I first noticed this bug.

Usher wrote:...there must be something changed in your browser - directly or in installed browser extensions.


Only thing that changed is your integration extension. Here's a demo in Google Chrome, with no extensions enabled except FDM integration:

https://youtu.be/33qaGfiZtFI

Click download, wait 10 seconds, FDM throws it back to the browser without any user action.

The only real custom setting I use in FDM is to ignore files under 3MB, if that matters:

Image

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Wed May 30, 2018 1:04 am
by johnlgalt
What is your operating system?

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Wed May 30, 2018 4:18 am
by anagrammar
johnlgalt wrote:What is your operating system?


viewtopic.php?f=1&t=17836#p45837

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Sat Jun 02, 2018 5:59 pm
by johnlgalt
Yeah, sorry, my browser was having an issue showing me the beginning of the thread, and I missed it last time around.

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Sun Jun 03, 2018 5:54 am
by spidey
I have the same issue - except that i noticed it few days ago BEFORE i updated FDM. So i updated FDM thinking it might be 'need to update' reason, but No.. still same issue. So might be a Chrome updated something and created a bug .. //
- -and it doesn't matter if i tick or untick the "Allow browser to download.." it still pops up


i am PC / Win 7 PRO / Chrome 66.0.3359.181 (Official Build) (64-bit)
with latest version of FDM / extension etc 5.1.37.7258 (48533e2)

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Sun Sep 02, 2018 10:02 pm
by pete
Same issue for me. I believe it happened after Chrome updated several months back, and updating Chrome and FDM doesn't fix the issue. Emailed support almost 3 months ago, no reply. Please fix this.

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Tue Sep 04, 2018 8:57 am
by Clive Sorensson
The issue has been reported, it must be on the list for fixing still.

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Sun Nov 25, 2018 5:19 pm
by pete
Clive Sorensson wrote:The issue has been reported, it must be on the list for fixing still.

2 months later, can we get started on that list and fix these annoying bugs?

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Sun Nov 25, 2018 5:43 pm
by pete
And also, I just did a 100% fresh install of Chrome, only downloaded the FDM extension (no other extensions installed), and this issue still happens, so it's something with your software that isn't meshing with Chrome.

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Mon Nov 26, 2018 12:36 am
by Usher
2 months later you still should follow the reporting rules and provide your software versions. Things change, so this request remains valid for ever.

Re: [Bug] "Allow browser to download if canceled" is broken.

Posted: Mon Nov 26, 2018 4:14 pm
by Alex
Hello,
Sorry for the delay. We'll try to fix this soon.
However, this is not us doing this, it's due to the change in Chrome browser.
Details:
1. We intercept a download. But we do not cancel it in Chrome immediately, because we're waiting for the response from FDM (download was cancelled or not), so we can cancel it when we need to or allow it to proceed if it was declined in FDM.
2. This worked fine until Chrome changed things. Now, it establishes some timer (around 10 seconds) for any download and waits. If download was not explicitly cancelled, it's allowed to continue by Chrome itself. Thus, we're still waiting for FDM to respond while Chrome resumed the download already.
3. So, we need some algorithm, which will allow us to make a graceful decision to cancel/resume Chrome download during this 10 seconds in all the cases.
We'll think about it. Any suggestions from our users on how it's better to "fix" this are welcome.