Why were favicons removed from PDF.js tabs?
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: ncf, Assigned: calixte)
Details
Attachments
(1 external file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
Steps to reproduce:
No motivation was given for the change in https://bugzilla.mozilla.org/show_bug.cgi?id=2035251 and it is very annoying to me: I typically have many PDFs open and showing the website's favicon is much more useful than a generic PDF icon. Please either revert this change or make it configurable through about:config.
Comment 1•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 months ago
|
||
The severity field is not set for this bug.
:calixte, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 3•3 months ago
|
||
Ryan, wdyt we should do ?
Comment 4•3 months ago
•
|
||
If we feel this is not an edge case, then I'd say to revert. The motivation to change was because the opposite case is more often the common use case: A user may have many tabs open but struggles to find which one is actually the PDF.
| Reporter | ||
Comment 5•3 months ago
|
||
I'd be fine with this being the default as long as there is some way to configure it away.
Comment 6•9 days ago
|
||
Related: https://social.sdf.org/@elb/117646175954017671
The #Firefox tab icon for a downloaded PDF file open in a tab is a little sheet of paper with the corner turned over, and the letters PDF across the bottom in super tiny letters. Every time I see it, I think it's an SD card. (The turned down corner is on the wrong end, but my brain doesn't process that immediately.)
Designers, tiny little letters on icons weren't a great idea when icons were a large portion of the screen, and they're worse when they're 1/500th of the screen area.
Comment 7•5 days ago
|
||
@calixte wdyt of reverting here? And when we get bugs complaining that users can't find their PDF tabs amongst their other tabs, we can just point them to this thread.
| Assignee | ||
Updated•5 days ago
|
| Assignee | ||
Comment 8•2 days ago
|
||
The pdf.js viewer declares chrome://global/skin/icons/pdf.svg as its tab
icon, which hid the site favicon for every web PDF. For http(s) PDFs, the
viewer icon now triggers the usual /favicon.ico guess and is only shown if
that load fails.
The favicon is loaded with the site's principal and no loading node: the
viewer's resource://pdf.js principal and CSP would otherwise make the
request cross-origin or block it outright.
Description
•