We switch users away from PDF.js as the default viewer if the user ever picks something else in the "open file with" dialog
Categories
(Firefox :: File Handling, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox79 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | + | verified |
firefox82 | + | verified |
People
(Reporter: Gijs, Assigned: Gijs)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details |
STR:
- open Firefox on a clean profile
- open the options/prefs, search for PDF. Check it defaults to "Open with Firefox"
- open a content-disposition attachment pdf, e.g. https://www.seattlesymphony.org/~/media/files/notes/schubert-sonata-21-b-flat.pdf
- pick anything other than "open in nightly/Firefox". Do not tick "do not ask me again"
- reload the options, search for PDF again
ER:
it should stay "open with firefox"
AR:
it becomes "always ask"
This is bad, because then even inline PDFs don't get displayed inline anymore.
Pretty sure this is a regression.
Assignee | ||
Comment 1•4 years ago
|
||
These steps regressed a week ago on Nightly, from bug 1653117.
The reports in bug 1655974 about defaults becoming "always ask" are from ESR or release, and so I'm worried there's some other STR that I'm missing here.
Jared, do you have cycles to help investigate?
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Set release status flags based on info from the regressing bug 1653117
Comment 3•4 years ago
|
||
I might have cycles today/Monday, but there are a few others bugs that I'm trying to chase down while also getting more things in for 81. If you have some time that would be great but I know you're super busy too.
Comment 4•4 years ago
|
||
(intentionally cleared and re-set needinfo so you would get mail that I responded)
Comment 5•4 years ago
|
||
Hi Gijs, can you please (let) triage this?
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
I moved the investigation into bug 1661432. Here, let's "just" fix the regression.
Assignee | ||
Comment 7•4 years ago
|
||
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Assignee | ||
Comment 14•4 years ago
|
||
Comment on attachment 9172819 [details]
Bug 1660277 - adjust when we save per-filetype download preferences in the helper app dialog for types handled internally, r?jaws
Beta/Release Uplift Approval Request
- User impact if declined: People have terrible PDF experiences
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment #0
- List of other uplifts needed: n/a
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively small change in this #$&^$*2$# dialog. Comes with more automated tests.
- String changes made/needed: None
Assignee | ||
Updated•4 years ago
|
Comment hidden (obsolete) |
Comment 16•4 years ago
|
||
Comment on attachment 9172819 [details]
Bug 1660277 - adjust when we save per-filetype download preferences in the helper app dialog for types handled internally, r?jaws
Ouch. Approved for 81.0b5.
Comment 17•4 years ago
|
||
Comment on attachment 9172819 [details]
Bug 1660277 - adjust when we save per-filetype download preferences in the helper app dialog for types handled internally, r?jaws
Actually, this needs a rebased patch (Beta doesn't know what IOUtils is)
Comment 18•4 years ago
|
||
Comment on attachment 9172819 [details]
Bug 1660277 - adjust when we save per-filetype download preferences in the helper app dialog for types handled internally, r?jaws
We figured it out. This needs bug 1660015 to make ESLint happy. Re-approving!
Comment 19•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Comment 21•4 years ago
|
||
Reproduced the initial issue reported here using an old Nightly (2020-08-20), verified that this is fixed using Firefox 81.0b7 and Latest Nightly 82.0a1 across platforms (Windows 10 64bit, macOS 10.15, Ubuntu 18.04 64bit).
Assignee | ||
Comment 22•4 years ago
|
||
Brendan, can you think of any reasonable way we can restore settings for beta/nightly users without clobbering them for people who have deliberately changed them? I assume not, but I figured I'd ask...
Comment 23•4 years ago
|
||
Unfortunately, I don't see another way. I looked around a bit hoping there was some way that the mime type handler settings were changed in a way we could detect when the bug was present, but I'm not seeing anything.
Description
•