Closed
Bug 797288
Opened 12 years ago
Closed 11 years ago
Pdf.js download behavior inconsistent
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
VERIFIED
FIXED
Firefox 21
People
(Reporter: david.smitmanis, Assigned: bdahl)
References
Details
(Whiteboard: [pdfjs-c-ux] https://github.com/mozilla/pdf.js/pull/2635)
Attachments
(2 files)
4.49 KB,
patch
|
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
4.87 KB,
patch
|
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
It seems the behavior when clicking the download button differs depending on your profile settings. Default behavior with a clean profile is to download the pdf to the default folder without prompting, which in my opinion isn't desirable. Other people seem to get promted (see Bug 793832 for instance), so my guess is that it could depend on your settings in Options - Applications. My suggestion would be to make the download button always prompt no matter the settings, or to add the ability to specify the behavior yourself in some way. Right now it seems beyond direct user control.
Comment 1•12 years ago
|
||
Can you check the "General" tab under the Options window? The setting under "Downloads" might be set to automatically save files to a default folder. I changed a clean profile setting to "Always ask me where to save files," and the next PDF I saved prompted me for a location to save the file to.
Reporter | ||
Comment 2•12 years ago
|
||
Indeed, if you set to the "Always ask" you are asked where you want to save the file. The problem is that this settings goes for everywhere in Firefox. The default settings (from a completely new profile) is "Save to folder", yet you will get some sort of dialog before it downloads for any file without a custom behavior set in Applications. And you can't set a preferred behavior for pdf files, because you have already set it to preview in browser.
Comment 3•12 years ago
|
||
I think I understand what you are saying. The prompt always comes up regardless of the download setting in Options for any non-PDF file. This is occurring for me on Firefox 18, Ubuntu, 32-bit. Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/18.0 Firefox/18.0
Assignee | ||
Comment 4•12 years ago
|
||
With the built in version of pdf.js it should always download automatically. It would be nice if it opened the open with/save as dialog instead.
Priority: -- → P3
Whiteboard: [pdfjs-c-ux]
Assignee | ||
Comment 5•11 years ago
|
||
We have a relatively small fix for this which will come along with bug 835954, but from recent feedback this seems to be a pretty common issue. Alex, Do you think this is worth/wanted for uplift?
Flags: needinfo?(akeybl)
Comment 6•11 years ago
|
||
(In reply to Brendan Dahl from comment #5) > Alex, > Do you think this is worth/wanted for uplift? That'd be great, since we expect to be relying on the fallback in a number of user critical instances. Please prepare an uplift for landing on mozilla-beta Tuesday, along with the other infobar changes. Thanks!
Assignee: nobody → bdahl
tracking-firefox19:
--- → +
Flags: needinfo?(akeybl)
Keywords: qawanted
QA Contact: anthony.s.hughes
Updated•11 years ago
|
Summary: Download behavior inconsistent → Pdf.js download behavior inconsistent
Updated•11 years ago
|
Whiteboard: [pdfjs-c-ux] → [pdfjs-c-ux] https://github.com/mozilla/pdf.js/pull/2635
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment on attachment 709688 [details] [diff] [review] Use attachment content disposition attachment and filename (beta) [Approval Request Comment] Bug caused by (feature/regressing bug #): -- User impact if declined: Download behavior inconsistent Testing completed (on m-c, etc.): https://tbpl.mozilla.org/?tree=Try&rev=bcfacb40d978, tested on dev. version on pdf.js Risk to taking this patch (and alternatives if risky): low, affects only fallback/download pdf.js functionality String or UUID changes made by this patch: --
Attachment #709688 -
Flags: approval-mozilla-beta?
Comment 10•11 years ago
|
||
Comment on attachment 709689 [details] [diff] [review] Use attachment content disposition attachment and filename (aurora) [Approval Request Comment] Bug caused by (feature/regressing bug #): -- User impact if declined: Download behavior inconsistent Testing completed (on m-c, etc.): https://tbpl.mozilla.org/?tree=Try&rev=b9730aeeedd3, tested on dev. version of pdf.js Risk to taking this patch (and alternatives if risky): low, affects only fallback/download pdf.js functionality String or UUID changes made by this patch: --
Attachment #709689 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #709688 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•11 years ago
|
Attachment #709689 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Keywords: checkin-needed
Whiteboard: [pdfjs-c-ux] https://github.com/mozilla/pdf.js/pull/2635 → [pdfjs-c-ux] https://github.com/mozilla/pdf.js/pull/2635, checkin-needed for patches for beta and aurora
Comment 11•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/c0eea5c5526a https://hg.mozilla.org/releases/mozilla-beta/rev/53c23a73d31c This will be fixed on m-c when bug 835954 lands.
status-firefox21:
--- → affected
Keywords: checkin-needed
Whiteboard: [pdfjs-c-ux] https://github.com/mozilla/pdf.js/pull/2635, checkin-needed for patches for beta and aurora → [pdfjs-c-ux] https://github.com/mozilla/pdf.js/pull/2635
Target Milestone: --- → Firefox 21
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af8e5720ccf2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 13•11 years ago
|
||
Verified on Firefox 19 beta 5. User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 Build ID: 20130206083616
Comment 14•11 years ago
|
||
Thanks Manuela. Dropping qawanted but leaving verifyme to track for verification on other branches.
Keywords: qawanted
Comment 15•11 years ago
|
||
Verified the fix for Firefox 20.0 beta 1 (20130220104816). Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 After clicking the download button, the user is prompted to Open/Save file.
Comment 16•11 years ago
|
||
Verified as fixed on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (20130416200523). I get the open/save prompt every time.
Comment 17•11 years ago
|
||
Verified as fixed on latest Nightly 25.0a1 (Build ID: 20130728030204) Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20130728 Firefox/25.0
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in
before you can comment on or make changes to this bug.
Description
•