"Do this automatically for files like this" doesn't
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
"Do this automatically for files like this" doesn't
27.6.2 on Ubuntu 16.04 (64bit)
When downloading files (e.g. PDF) a dialog pops up to ask whether to save or open the file (and with what).
The dialog offers a setting
"Do this automatically for files like this from now on"
Though it doesn't! Even if checked, the dialog will re-appear at the next download and will NOT open automatically with the selected program.
Dietmar
When downloading files (e.g. PDF) a dialog pops up to ask whether to save or open the file (and with what).
The dialog offers a setting
"Do this automatically for files like this from now on"
Though it doesn't! Even if checked, the dialog will re-appear at the next download and will NOT open automatically with the selected program.
Dietmar
Re: "Do this automatically for files like this" doesn't
Not just a Linux problem, it's like that on Windows too.
Re: "Do this automatically for files like this" doesn't
one of the browser's longstanding issues, even if it's relatively minor. though this does not happen to .torrent files
-
- Newbie
- Posts: 4
- Joined: 2017-09-30, 19:13
Re: "Do this automatically for files like this" doesn't
You can try this addon - https://addons.mozilla.org/en-US/firefo ... matically/
Windows 7 SP1 x64, latest Pale Moon x64 on Asus P81IJ ( Intel Dual Core CPU, 2.10 GHz, 4G RAM ), latest Basilisk on Debian Jessie. I appreciate these browsers for their speed and ability to customize.
Re: "Do this automatically for files like this" doesn't
OK, some newbie questions:fillerup wrote:one of the browser's longstanding issues
- Where in this forum (or elsewhere) can I find out if such is a known bug?
- What's the correct procedure to report bugs in PM?
Re: "Do this automatically for files like this" doesn't
Please give an example. Depends on MIME type:joe04 wrote:Not just a Linux problem, it's like that on Windows too.
Examples:
http://www.pdf995.com/samples/pdf.pdf
- MIME type: "application/pdf" (true)
https://github.com/mozilla/pdf.js/raw/m ... oworld.pdf
- MIME type: "application/octet-stream" (false / the checkbox is disable - but logically, on github - it uses a "general" MIME type)
MIME type: "application/octet-stream" - see:
https://github.com/MoonchildProductions ... lg.js#L475
https://github.com/MoonchildProductions ... lg.js#L528
Last edited by GMforker on 2017-12-08, 11:59, edited 2 times in total.
Re: "Do this automatically for files like this" doesn't
I'll try to find an example. Your example above indeed works as are other pdfs included on other sites such as my own. I didn't notice before.GMforker wrote:Please give an example. Depends on MIME type:
Examples:
http://www.pdf995.com/samples/pdf.pdf
- MIME type: "application/pdf" (true)
What does not work is pdfs generated on-the-fly from e.g my bank's server. I'm not sure if this is due to https: or due to a different MIME-type. I'll be back when I find a public site showing this effect.
Dietmar
Re: "Do this automatically for files like this" doesn't
doesn't work with built in downloaders e.g. DownThemAllamberit wrote:You can try this addon - https://addons.mozilla.org/en-US/firefo ... matically/
-
- Astronaut
- Posts: 660
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: "Do this automatically for files like this" doesn't
The management of Preferences->Applications in PM looks inherited from FireFox and IMHO has always been a weak point of both (mainly in the sense it does not honour mailcap). Once an entry for a MIME type or MIME-type lookalike is entered in whatever "database" there is no way to remove it (if anybody knows an add-on which does it it would be appreciated).
I have in my profile four entries tagged "Adobe Acrobat Document" (not only application/pdf but also application/binary, application/force-download and application/save). They are all set to "always ask". I did enter them sometimes via the "do this automatically" popup, mainly to cure sites which were distributing pdf files with the wrong MIME type or insisting in forcing upon you a choice it does not pertain to them. But now if somebody distributes a non-pdf file with one of those types, the offer of "always ask" is between Save and View with pdf viewer ...
I have in my profile four entries tagged "Adobe Acrobat Document" (not only application/pdf but also application/binary, application/force-download and application/save). They are all set to "always ask". I did enter them sometimes via the "do this automatically" popup, mainly to cure sites which were distributing pdf files with the wrong MIME type or insisting in forcing upon you a choice it does not pertain to them. But now if somebody distributes a non-pdf file with one of those types, the offer of "always ask" is between Save and View with pdf viewer ...
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
-
- Astronaut
- Posts: 652
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: "Do this automatically for files like this" doesn't
What has always annoyed me is the fact that the "helper application" action is always based on "mime type", which webmasters seem to be too lazy/ignorant to get right. WHY doesn't Pale Moon simply go with file extension for the decision?
There's a right way
There's a wrong way
And then there's my way
There's a wrong way
And then there's my way
Re: "Do this automatically for files like this" doesn't
Off-topic:
Because an file extension is meaningless. What matters is the content of the file. Not how somebody has named it.
Because an file extension is meaningless. What matters is the content of the file. Not how somebody has named it.
-
- Astronaut
- Posts: 652
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: "Do this automatically for files like this" doesn't
You may argue that "actual content" is more important than file extension. The sad truth is that file extension is a MUCH more reliable indicator of "actual content" than "mime-type". There are too bleeping many webmasters who are too lazy, or ignorant, or utilise brain-dead website-building-programs, all combining to give wrong/invalid mime-types.yami_ wrote:Off-topic:
Because an file extension is meaningless. What matters is the content of the file. Not how somebody has named it.
There's a right way
There's a wrong way
And then there's my way
There's a wrong way
And then there's my way
-
- Astronaut
- Posts: 660
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: "Do this automatically for files like this" doesn't
Seems a curious way of proposing a cure for what is probably a right diagnosis (wrong mime type because of human ignorance). This is not only related to webmasters (or the s/w they use) but also to MUAs (mail user agents, more than the people which use them). I sometimes receive mail (usually pdf) attachment which are declared the wrong mime type. Luckily a combination of a feature of my MUA, the fact it honours mailcap and mime-types, and the possibility to edit the latter files, allows me to get prompted "this file is recognised as xxx by file extension in contrast with mime-type yyyy: do you want to proceed" (which is a good thing for security reasons).Walter Dnes wrote:What has always annoyed me is the fact that the "helper application" action is always based on "mime type", which webmasters seem to be too lazy/ignorant to get right. WHY doesn't Pale Moon simply go with file extension for the decision?
I wonder whether a feature like that could be inserted in PM or in an addon for PM abandoning the firefox inheritance ...
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: "Do this automatically for files like this" doesn't
Because the standard says so.[1]Walter Dnes wrote:WHY doesn't Pale Moon simply go with file extension for the decision?
MIME type always has first priority. Also, if this wasn't the case, it would be impossible to e.g. offer downloads of known file types (like images) because the extension would dictate that it would have to be displayed. Also, extensions are often incorrect for file content (this is why content-sniffing exists).
[1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
Last edited by Moonchild on 2018-09-25, 11:39, edited 1 time in total.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite