If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Visualize attachment types (show icons in attachment list)




Attachments & Requests
9 years ago
4 years ago


(Reporter: InvisibleSmiley, Unassigned)





9 years ago
I think it would help quickly identifying the type of an attachment if there was a small but distinct icon in each attachment row. The icons should be lined up vertically and of the same size, thus I'd vote for putting them to the front. 

Minimally there should be icons for patches, image types (e.g. image/png), plain text and a general one.

If the general rule is not to have icons on bug detail pages I suggest making this a per-user option.

Comment 1

9 years ago
This is a good idea. :-) I'd want the tooltip of the image to say the exact type, of course. And the Details page would also say the exact type. I'm sure there are open-source icons we could re-use.
Assignee: create-and-change → attach-and-request
Component: Creating/Changing Bugs → Attachments & Requests
Priority: -- → P2

Comment 2

7 years ago
Until this is implemented, here's a simple Stylish rule to achieve something basic:

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("bugzilla.mozilla.org") {
  .bz_contenttype_image_png > td:first-child > a:before,
  .bz_contenttype_image_jpeg > td:first-child > a:before {

(Tip: Use http://www.sveinbjorn.org/dataurlmaker for the data: URL.)
You need to log in before you can comment on or make changes to this bug.