Open Bug 1586538 Opened 5 years ago Updated 2 years ago

Runtime disclosure of origin of file type <-> application association

Categories

(Firefox :: File Handling, enhancement)

64 Branch
x86
Linux
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: post, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

Tried to open downloaded files with a complex command.

Actual results:

Didn't see how to do this, made some search engine research, further debugged behaviour and found that what I wanted to do isn't possible.

Expected results:

I could have had that finding much earlier if precise information was disclosed in the UI (or maybe online help).

Component: Untriaged → File Handling
OS: Unspecified → Linux
Hardware: Unspecified → x86

FYI here follows some trace of my research (not covering the search engine use)

https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file
-> No information on the source of the available+default settings

https://unix.stackexchange.com/questions/162742/where-does-firefox-get-the-default-applications-for-opening-files-from
-> of which this answer is very in depth:
https://unix.stackexchange.com/a/364978/249187
Here I learned where to look for my setting files.

FYI Whilst using some browser (maybe old Firefox? Vivaldi?) in former time I have set up some entries in ~/.mailcap to contain rather complex command strings (but never touched that manually, that must have been some GUI).

My suggestion here is to include some small button "origin of file type associations" which then shows "On this platform we look at /etc/mailcap, ~/.mailcap, /usr/share/applications/mimeinfo.cache" or similar.

It would, of course, would even better, to cover how the actual entries were parsed from which files.

And, in case of mailcap files, it would be nice to print some warning when using an entry of which the argument string was cut.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.