Closed Bug 1866736 Opened 2 years ago Closed 2 years ago

Prompt not showing (although set in settings) where to store a file when a download is initiated, instead it downloads automatically

Categories

(Firefox :: File Handling, defect)

Firefox 120
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: viktor, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0

Steps to reproduce:

Downloading important Invoices from the sales platform cardmarket.de. Until 10:30 today in the morning it went well, but then my Firefox got updated to 120.0 and now it does not work as expected aymore.

Actual results:

Files where automatically dowloaded into Downloads Folder.

Expected results:

Prompt asking me where to download should have been shown, which worked until the update to 120.0, but no it doesn't, it went straight for the download.

Box is always checked, to show me the prompt in settings. I tried resetting it, and also closing and opening Firefox, logging in and out of the platform but nothing helped.

The Bugbug bot thinks this bug should belong to the 'Firefox::Downloads Panel' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Downloads Panel

Hello, thank you for the bug report!
Unfortunately I could not reproduce your issue. Would you be so kind as to answer a few questions so we can investigate this further?

Thank you.

Flags: needinfo?(viktor)

Hi, so i've tried all suggested steps.

First i started to clean Firefox. Now the behaviour has changed. Although the checkmark is STILL set for asking for the download instead of downloading it, Firefox opens the PDF in its built in PDF Viewer, it is not getting downloaded to anywhere. The same behaviour is also happening in the troubleshooting Mode aswell as with the latest Version of Firefox that you have suggested me 121.0b5.

Flags: needinfo?(viktor)

Addendum: It depends, where i download my PDF's from, on some platforms it also downloads them while opening them with the built in PDF Reader of Firefox, but it never asks me where to save it, which is the behaviour i would expect.

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mak)

This is the expected behavior in most cases, the Always ask you where to save files option is only a fallback in case a file type IS NOT known to Firefox, otherwise what matters is the Applications list just below it.
PDF is a file type Firefox can handle natively, thus it will try to open PDF files like it opens HTML.
And because to show the PDF it must first be stored somewhere, it is stored in the Downloads folder, so it won't be lost on close.

You can change what to do with PDF files , for example setting it to Always Ask, in the Applications list.
Though note then PDF won't open anymore in the Firefox PDF viewer by default, it will always ask you what to do, that may be annoying.

Alternatively You can also evaluate setting browser.download.start_downloads_in_tmp_dir in about:config to put the initial download in the temp folder instead of the Downloads folder. Then PDF will still open in Firefox and you can click the Download button on the PDF reader to permanently move the pdf to where you wish. But you must remember every time.

Finally, you could also just right click on the link and Save As (provided it's not some magic javascript "link").

Does this help?

Flags: needinfo?(mak) → needinfo?(viktor)
Component: Downloads Panel → File Handling

Without more information there's not much we can do inside Firefox, so I'm going to close this out - we can reopen if more info becomes available.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(viktor)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: