Closed Bug 395141 Opened 17 years ago Closed 17 years ago

use a generic icon for types and apps that don't have one in the Applications prefpane

Categories

(Firefox :: File Handling, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 3 beta1

People

(Reporter: myk, Assigned: myk)

References

Details

(Whiteboard: [contentHandling-ui])

Attachments

(3 files, 2 obsolete files)

When types don't have an icon in the applications prefpane, we show nothing.  We might consider showing a generic icon instead.
Depends on: 377784
faaborg, what's your thought on this issue?  Should we display a generic icon for types that don't have a type-specific icon, or should we just display no icon at all?
Assignee: nobody → myk
Priority: -- → P2
Target Milestone: --- → Firefox 3 M9
I think we should display a generic icon for types that don't have one to maintain visual balance, and the same for applications.
Summary: consider using a generic icon for types that don't have one in the Applications prefpane → consider using a generic icon for types and apps that don't have one in the Applications prefpane
Whiteboard: [contentHandling-ui]
Alex, do you have some icons in mind?
Summary: consider using a generic icon for types and apps that don't have one in the Applications prefpane → use a generic icon for types and apps that don't have one in the Applications prefpane
Blocks: 395395
Requesting wanted-1.9 for this Applications prefpane polish fix.
Flags: blocking-firefox3?
I've added these to the icon inventory, please use the temporary icons until
the professional icons are made:
http://people.mozilla.com/~faaborg/files/granParadisoUI/icons/iconInventory.html
Note the use of a different icon for plugins
Thanks Alex!  One question: will there be a different set of icons for Linux, or should I be reusing the Windows icon for that OS?
My understanding is that linux will use the xp theme by default.
It looks like we are switching from a puzzle piece as the universal addons icon to a lego style block, updated the icon inventory: http://people.mozilla.com/~faaborg/files/granParadisoUI/icons/iconInventory.html
Depends on: 397823
This patch adds generic icons in the following cases:

1. types without icons on Windows and Linux;
2. apps (whether default, preferred, or possible) without icons on all platforms.

It doesn't add generic icons for types without icons on Mac because of bug 397823.  In addition to adding generic icons, I also updated the Options.png images with the temporary icon for the Applications prefpane.

I'll attach the graphic files as a ZIP file shortly.
Attachment #282649 - Flags: review?(gavin.sharp)
Attached patch patch v2: unrotted (obsolete) — Splinter Review
Attachment #282649 - Attachment is obsolete: true
Attachment #282810 - Flags: review?(gavin.sharp)
Attachment #282649 - Flags: review?(gavin.sharp)
Flags: blocking-firefox3? → blocking-firefox3+
Comment on attachment 282810 [details] [diff] [review]
patch v2: unrotted

The icons in the dropdowns don't seem to be aligned with the icons on the selected item, could you file a followup bug on that? The "jitter" that occurs when you select an item and it expands is also sub-optimal, but it might not be easily avoidable without making either the dropdown too small or the "normal" entries too big.
Attachment #282810 - Flags: review?(gavin.sharp) → review+
(In reply to comment #13)
> (From update of attachment 282810 [details] [diff] [review])
> The icons in the dropdowns don't seem to be aligned with the icons on the
> selected item, could you file a followup bug on that?

Yup, I have filed bug 398443 on it.

> The "jitter" that occurs when you select an item and it expands is also
> sub-optimal, but it might not be easily avoidable without making either the
> dropdown too small or the "normal" entries too big. 

Indeed, but if there is a solution it would be good to implement it, so I've filed bug 398445 on it.
Here's the version I checked in.  It's identical to patch v2 except that it replaces one instance of a Windows line-ending character sequence (CR+LN) in applications.js, which snuck in as part of the checkin for bug 397690, with the correct Unix-style character (LN), per Gavin's request that I do this the next time I check in a change to that file.
Attachment #282810 - Attachment is obsolete: true
Checking in browser/components/preferences/applications.js;
/cvsroot/mozilla/browser/components/preferences/applications.js,v  <--  applications.js
new revision: 1.16; previous revision: 1.15
done
Checking in browser/components/preferences/handlers.xml;
/cvsroot/mozilla/browser/components/preferences/handlers.xml,v  <--  handlers.xml
new revision: 1.2; previous revision: 1.1
done
Checking in browser/themes/pinstripe/browser/jar.mn;
/cvsroot/mozilla/browser/themes/pinstripe/browser/jar.mn,v  <--  jar.mn
new revision: 1.62; previous revision: 1.61
done
Checking in browser/themes/winstripe/browser/jar.mn;
/cvsroot/mozilla/browser/themes/winstripe/browser/jar.mn,v  <--  jar.mn
new revision: 1.58; previous revision: 1.57
done
Checking in browser/themes/pinstripe/browser/preferences/Options.png;
/cvsroot/mozilla/browser/themes/pinstripe/browser/preferences/Options.png,v  <--  Options.png
new revision: 1.7; previous revision: 1.6
done
RCS file: /cvsroot/mozilla/browser/themes/pinstripe/browser/preferences/application.png,v
done
Checking in browser/themes/pinstripe/browser/preferences/application.png;
/cvsroot/mozilla/browser/themes/pinstripe/browser/preferences/application.png,v  <--  application.png
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/browser/themes/pinstripe/browser/preferences/plugin.png,v
done
Checking in browser/themes/pinstripe/browser/preferences/plugin.png;
/cvsroot/mozilla/browser/themes/pinstripe/browser/preferences/plugin.png,v  <--  plugin.png
initial revision: 1.1
done
Checking in browser/themes/winstripe/browser/preferences/Options.png;
/cvsroot/mozilla/browser/themes/winstripe/browser/preferences/Options.png,v  <--  Options.png
new revision: 1.6; previous revision: 1.5
done
RCS file: /cvsroot/mozilla/browser/themes/winstripe/browser/preferences/application.png,v
done
Checking in browser/themes/winstripe/browser/preferences/application.png;
/cvsroot/mozilla/browser/themes/winstripe/browser/preferences/application.png,v  <--  application.png
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/browser/themes/winstripe/browser/preferences/plugin.png,v
done
Checking in browser/themes/winstripe/browser/preferences/plugin.png;
/cvsroot/mozilla/browser/themes/winstripe/browser/preferences/plugin.png,v  <--  plugin.png
initial revision: 1.1
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
This is inconsistent with bug 391670.
Depends on: 398476
(In reply to comment #17)
> This is inconsistent with bug 391670.

Hmm, interesting.  The plugin icon I used was the one in the icon inventory referenced in comment 5, but that inventory doesn't list the plugin icon anymore.
Depends on: 398480
Depends on: 398563
Depends on: 398565
Blocks: 398597
>but that inventory doesn't list the plugin icon anymore.

Sorry, doing some maintenance on the icon inventory.  The interlocking brick icon is still the current choice for our universal addon icon, but we may switch it to a puzzle piece.  I'll comment in this bug if it changes so our temp icons remain consistent.
Blocks: 396110
The application.png and plugin.png are much smaller when passed through PngOptimizer:
Before:
26-09-2007  18:05             3.100 application.png
26-09-2007  18:40               452 plugin.png
After:
05-12-2007  09:10               344 application.png
05-12-2007  09:10               414 plugin.png

Especially application.png is now 11% of what it used to be...
Note that these icons are just placeholders, are are going to be replaced along with nearly every other icon.  We will likely want to run everything through pngOptimizer at the end, to see how much space we can save and to see if it has any impact on performance.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: