Closed Bug 1719900 Opened 4 years ago Closed 4 years ago

Saving directly to disk seems to automatically open (some?) file types by default

Categories

(Firefox :: Downloads Panel, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox92 --- fixed

People

(Reporter: mtigley, Assigned: ava8katushka)

References

Details

Steps to Reproduce

  1. Ensure browser.download.improvements_to_download_panel pref is set to true.
  2. Ensure "Save files to <path>" option is selected from about:preferences
  3. Try downloading an image file from https://filesamples.com/formats/png

Expected Results
The download panel opens and nothing else happens.

Actual Results
The download panel opens and the image is opened in the system's default photo viewer app. This might be surprising for users who haven't configured anything for downloaded images.

Notes
We should probably only do this if the user has configured certain file types to be launched after the download has finished. The handler service has an API for this. https://searchfox.org/mozilla-central/rev/1add3985d32470582ce83f40a212a976e4fc7da5/uriloader/exthandler/nsIHandlerService.idl#95

See Also: → 1719904
Severity: -- → S3
Priority: -- → P3

This looks to be fixed by Bug 1719901. Let's check this issue again once that bug is fixed.

Assignee: nobody → ava8katushka
Status: NEW → ASSIGNED
Depends on: 1719901
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.