Download dialog not working
-
This started happening yesterday: I cannot download any files anymore using the regular download dialog. When I click on a download link the dialog pops up, but whatever button I click, nothing happens. Also when I use tab and space to select the "Save" button, nothing happens. Only when I copy the link URL and manually put it into the address bar does the dialog function normally.
I have had this happen often in Google Drive, when I had to wait a long time for a download to start: I click download, it starts zipping files, I browse to another tab or whatever, and then when the download dialog finally appears, clicking "Save" or "Save as" just makes it disappear again. Now, this problem happens everywhere.
Specs:
Vivaldi 4.1.2369.16 (Stable channel) (64-bit)
Revision 22dd8fe0e98a867beb04539d8bf1b1e141176915
OS Windows 10 OS Version 2009 (Build 19042.1165)
JavaScript V8 9.2.230.22 -
@lrkrol Yes, another idiotic "security feature" of Chromium.
If you look in the console (F12), you will see:
"The site at 'https://ctan.org/' was loaded over a secure connection, but the file at 'https://ctan.uib.no/fonts/adforn/adforn.pdf' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details."
It works directly from the URL bar since you weren't on a "secure site" when the download was initiated (as the browser sees it).
To add to the idiocy of this feature, if you enable the internal PDF viewer (enabled by default actually), it will happily open the "insecure" file - depending on whether the redirected mirror uses HTTPS or not I guess.
The download actually sends a redirect, for me:
$ curl -I http://mirrors.ctan.org/fonts/adforn/adforn.pdf HTTP/1.1 302 Found Date: Wed, 18 Aug 2021 09:02:09 GMT Server: Apache/2.4.25 (Debian) Location: https://ctan.uib.no/fonts/adforn/adforn.pdf Content-Type: text/html; charset=iso-8859-1
-
Ahh thanks @Pathduck, I guess that at least explains it. Indeed I get that message in the console. Can anything be done about it though?
And do you have any idea why this would happen on Google's very own Drive as well, but (seemingly) only when I wait too long to click "Save"?
-
@lrkrol said in Download dialog not working:
Can anything be done about it though?
No, don't think so. At least not easily.
See the flag:
vivaldi://flags/#unsafely-treat-insecure-origin-as-secure
.
You should be able to addhttp://mirrors.ctan.org
there and it should treat it as secure. Obviously you'd need to add that for every site this issue occurs...You could also right-click, save as. But then you meet another bug related to another bulls*it security feature and likely the download will "hang" and never complete.
Another thing to do is simply enable the internal PDF viewer, and save from there instead.
And do you have any idea why this would happen on Google's very own Drive as well, but (seemingly) only when I wait too long to click "Save"?
I think this is different issue. Are you blocking 3rd-party cookies? You need to accept cookies from
[*.]googleusercontent.com
for downloads from Drive to work. You can add this inchrome://settings/cookies
-
I am indeed blocking cookies. I will investigate the Drive issue a bit further and if something seems off, I'll make another thread out of it.
Thanks for the thorough responses, @pathduck!
-
@pathduck said in Download dialog not working:
No, don't think so. At least not easily.
Well, is there a "difficult" solution?
The flag "--allow-running-insecure-content" does not work anymore.
Is there any way to set the default value of "Insecure content" to "Allow" for all websites?
I understand why the Chromium devs implemented this, but this is really frustrating for me, since my works involves downloading datasheets for older devices and many of the sites hosting such files have mixed content, since they have not been updated.
-
@void73 said in Download dialog not working:
Well, is there a "difficult" solution?
What I posted is the difficult solution.
It is what it is.
-
Yes, your solution is fine for individual websites, but maybe someone found a global solution, such as injecting wildcards, editing some Chromium related files, setting flags, etc.
I just wonder why so few people are complaining. I encounter this issue more than 20 times on some days, just by searching datasheets and manuals...
-
@void73 said in Download dialog not working:
maybe someone found a global solution, such as injecting wildcards, editing some Chromium related files, setting flags, etc.
You are of course welcome to hope. Hope is very powerful motivator. I just hope you're patient
-
Ppafflick moved this topic from Vivaldi for Windows on