pdfjs not showing icons associated to embedded attachments
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: postnalista, Assigned: Snuffleupagus)
References
Details
(Whiteboard: [pdfjs-feature][pdfjs-annotations])
Attachments
(2 files)
| Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
| Reporter | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
I cannot see the pin icon (in Acrobat Reader it is visible, in Chrome not). But I can open the attched files. So I would suggest to set this bug on fixed or worksforme.
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Brendan, is it expected that we are not able to see the pin icons?
Comment 6•4 years ago
|
||
The icons do appear in acrobat. After a quick look I wasn't able to tell why the icons aren't showing. Could be unsupported annotation type or image type.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 8•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Comment 9•3 years ago
|
||
:marco, can you please help ping the relevant UI/UX team so that can get appropriate icons since that's basically the only blocker here?
The other option, since FileAttachment annotations without an appearance seem extremely rare, could be that we simply pick some reasonable looking e.g. CC0-licensed icons online (to avoid having to wait a long time for UI/UX)?
Comment 10•3 years ago
|
||
Not marco but
If you need icons, you might be able to borrow some from comm-central:
https://searchfox.org/comm-central/source/mail/themes/shared/mail/icons/attach.svg
https://searchfox.org/comm-central/source/mail/themes/shared/mail/icons/new/compact/pin.svg
https://searchfox.org/comm-central/source/mozilla/browser/themes/shared/icons/pin-12.svg
https://searchfox.org/comm-central/search?q=&path=.svg&case=false®exp=false
| Assignee | ||
Comment 11•3 years ago
|
||
(In reply to Gregory Pappas [:gregp] from comment #10)
If you need icons, you might be able to borrow some from comm-central:
https://searchfox.org/comm-central/source/mail/themes/shared/mail/icons/attach.svg
https://searchfox.org/comm-central/source/mail/themes/shared/mail/icons/new/compact/pin.svg
https://searchfox.org/comm-central/source/mozilla/browser/themes/shared/icons/pin-12.svg
https://searchfox.org/comm-central/search?q=&path=.svg&case=false®exp=false
That's very helpful, thank you!
Comment 12•3 years ago
|
||
Those icons look good to me, thanks Gregory! Since they are not prominent I think we can just use them without worrying too much.
For attachment, we also have https://github.com/mozilla/pdf.js/blob/master/web/images/toolbarButton-viewAttachments.svg which would be OK.
And for pin, https://searchfox.org/mozilla-central/source/browser/themes/shared/icons/pin-12.svg or https://searchfox.org/mozilla-central/source/browser/components/newtab/data/content/assets/glyph-pin-16.svg.
Updated•3 years ago
|
Description
•