Open Bug 1544768 Opened 9 months ago Updated 9 months ago

Filetype cannot be added to preferences - checkbox for "always do this action for this filetype" is disabled

Categories

(Firefox :: File Handling, defect, P3)

66 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: grindyourmind, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Click on "download" (.aiff-file)

Actual results:

Dialog opens.
I am asked what to do with this file.
Combobox is set to "Open with..." - I have to choose "download".
==> The checkbox below is disabled. I cannot add the filetype (.aiff) to the preference list. This way i have to choose this option "download" again and again.

Expected results:

The checkbox should be enabled. I should be able to add the .aiff-extension to the list in the preferences.

Component: Untriaged → Preferences

Hello reporter,

Is this true for all .aiff files? Or just one in particular? If, for example, you click on this link, are you able to remember to save this type of file?

Flags: needinfo?(grindyourmind)

The reason I ask is that we seem to have rules to disable that checkbox if the selected file has a particular MIME type:

https://searchfox.org/mozilla-central/rev/ee3905439acbf81e9c829ece0b46d09d2fa26c5c/toolkit/mozapps/downloads/HelperAppDlg.jsm#453-455

Component: Preferences → File Handling

(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)

Hello reporter,

Is this true for all .aiff files? Or just one in particular? If, for example, you click on this link, are you able to remember to save this type of file?

Hey Mike

While the checkbox was disabled for all .aiff-files on freesound.org, it was enabled for your link. The file type could be added to the firefox list without a problem.
Thanx

Flags: needinfo?(grindyourmind)

Boris, I know we have not fixed this in the past (cf. bug 201546 comment 2 ) because we obviously don't want to associate anything with application/octet-stream.

However, could we not change the helper app dialog to detect this case (extension + octet-stream) and let users associate a helper for the given extension in that case?

Flags: needinfo?(bzbarsky)

We could, but I suspect only if we look up a MIME type by that extension and get a useful hit. Helper app associations are generally by MIME type, last I checked.

Flags: needinfo?(bzbarsky)

The priority flag is not set for this bug.
:Gijs, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(gijskruitbosch+bugs)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.