Closed Bug 500414 Opened 15 years ago Closed 15 years ago

New icon for OS/2 needed

Categories

(Firefox :: General, defect)

3.5 Branch
x86
OS/2
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: mozilla, Assigned: mz)

References

Details

(Keywords: verified1.9.1.1)

Attachments

(7 files, 1 obsolete file)

Now that the new Firefox icon for the other platforms is landed (see bug 500033) we can also create a new .ico file for OS/2. I guess one could either take the Windows .ico file from attachment 384726 [details] as a base or start from higher or matching resolution PNG images as published at <http://blog.mozilla.com/faaborg/2009/06/18/the-new-firefox-icon/>.

Stefan, you did great work to adapt the SeaMonkey icon, do you still have the means to do this again now?
(In reply to comment #1)
> Created an attachment (id=385172) [details]
> Firefox icon scaled down from 512 png without shadow
I took a look at it, the 24bits look nice in all resolutions, all other color depths are black...
They updated document.{ico,png} as well. Another source for the ico files (if they are of any help for you) is:
http://hg.mozilla.org/releases/mozilla-1.9.1/file/d4681ff6dfb8/other-licenses/branding/firefox/{firefox,document}.ico
Out of curiosity what size and formats do you need to generate OS/2 icons?
(In reply to comment #4)
> Out of curiosity what size and formats do you need to generate OS/2 icons?

We have a different ico format than windows, but there are programs available to convert, so that is not big deal. In part, we have the same formats than windows 32x32 and 16x16, and these convert fine from the windows ico. In addition we need 40x40 and 20x20. Anything bigger would display as well, e.g 48x48, but doesn't fit to our overall layout. Color depth is 24bit, 8bit, and 4bit.
Version 2 of Firefox icon scaled down from 512 png without shadow

Now checked every color depth and resolution ( had some invalid display masks in previous version ).
Source is from 
http://blog.mozilla.com/faaborg/2009/06/18/the-new-firefox-icon/
Attachment #385172 - Attachment is obsolete: true
(In reply to comment #3)
> They updated document.{ico,png} as well. Another source for the ico files (if
> they are of any help for you) is: http://hg.mozilla.org/releases/mozilla-1.9.1/file/d4681ff6dfb8/other-licenses/branding/firefox/{firefox,document}.ico

Any possibility to get the files directly from the web interface ?
Comment on attachment 385335 [details]
v2 of Firefox icon scaled down from 512 png without shadow [Checked in comment 10]

Thanks, Stefan. This looks great. I'll get this in soon.
Attachment #385335 - Flags: review+
Assignee: nobody → mz
Status: NEW → ASSIGNED
Comment on attachment 385335 [details]
v2 of Firefox icon scaled down from 512 png without shadow [Checked in comment 10]

Pushed:
http://hg.mozilla.org/mozilla-central/rev/c8808dd65f45
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/443e352ba424

BTW, the bug for the document icons was bug 473343. I'll leave this bug open for that.
Attachment #385335 - Attachment description: v2 of Firefox icon scaled down from 512 png without shadow → v2 of Firefox icon scaled down from 512 png without shadow [Checked in comment 10]
> BTW, the bug for the document icons was bug 473343. I'll leave this bug open
> for that.
Should I place document-os2.ico here or at bug 473343 ?
Here, please. (I just wanted to post a reference to the other bug.)
Attached image v4 of firefox-os2.ico
Not very important but I remembered 4-bit should use system colors. ( So the user interface on 256 color devices leaves 240 colors for displaying pictures. ) Corrected this for completness.
Imho a little bit smoother and clearer.
(In reply to comment #15)
> Created an attachment (id=385631) [details]
> v5 of firefox-os2.ico
> 
> Imho a little bit smoother and clearer.
I agree, v5 looks very nice in 24 and 8bit, but the 4bits of v4 and v5 look a bit strange (e.g. yellow pixels all over), 4bit was nicer in the v2.
Another comment on document-os2.ico. It appears you took the "linux" png as a template where the logo is put aside of the "page". In the windows version of document.ico, the firefox logo is centered on the "page", 
https://bugzilla.mozilla.org/attachment.cgi?id=382681
Nevertheless, your icons look way better than that we had up to now, thanks.
Walter, I think Stefan is right in that one should use the system palette for 4bit icons. And there you are limited with what colors are available. This is the same for the current SeaMonkey icon, too (just that there the available colors match the icon colors better). I should have seen that when I looked at the icon that I checked in.

As for document-os2.ico I don't think it matters, if it is built from the original Windows or Linux version. We should just be consistent when the Thunderbird icon needs to be redone (later this year?).

Stefan, if you are still happy -- after thinking it over for three days -- with the current state of firefox-os2.ico v5 and document-os2.ico, I would check them in.
(In reply to comment #18)
> Walter, I think Stefan is right in that one should use the system palette for
> 4bit icons.

The background ( so far I understand it ) : 4-bit icons are for 8-bit environments ( like some mobile devices - less data transfer, more operation time ).
The general idea is to restrict colors of the user interface to 16 system colors. So 240 colors remain available. Those colors sensibly adapted, your can achieve pretty good results in diplaying content - like pictures or rendered font with different font and background colors.
Otherwise 16 icons with differently adapted colors would eat up all palette colors. Nothing left for content. 

> As for document-os2.ico I don't think it matters, if it is built from the
> original Windows or Linux version. We should just be consistent when the
> Thunderbird icon needs to be redone (later this year?).

The other is already in work. But I don't have much spare time, so it might take two or three days until I find the time.

> Stefan, if you are still happy -- after thinking it over for three days --
> with the current state of firefox-os2.ico v5 and document-os2.ico, I would
> check them in.

I think both are "technically" OK and the best compromise achievable ( between black and white background without alpha channel ). If you want the matter be closed, take them. Otherwise I provide a document-os2.ico v2 apdapted from the Windows source.
I realized that I have never seen document.ico used anywhere on OS/2. It is used on Windows (through toolkit/xre/nsNativeAppSupportWin.h) but on OS/2 the DOCUMENT_ICO property indeed seems to be unused. We do use FIREFOX_ICO in browser/app/splashos2.rc to link it into the resources of firefox.exe but not the document. Does OS/2 actually have a mechanism to have one icon for the app but another icon for documents that are associated with that app (or program object)?
(In reply to comment #20)
> ... Does OS/2 actually have a mechanism to have one icon for the app but
> another icon for documents that are associated with that app (or program
> object)?
Two program objects would be a possibility. One without ( firefox.ico ) and the other with ( document.ico ) assignments to extensions and classes.
Comment on attachment 385631 [details]
v5 of firefox-os2.ico [Checked in comment 26]

OK, so I convinced myself that this is the best version of firefox.ico.
Attachment #385631 - Flags: review+
Attachment #386806 - Flags: review+
Comment on attachment 386806 [details]
v2 of document-os2.ico apadpted from Windows png [Checked in comment 26]

...and this one is the nicer one for document-os2.ico. While I like v1 better on dark backgrounds, the fox looks a bit ragged on bright backgrounds. On 16x16 the fox is hardly recognizable, but I guess we can live with that as the colors still give a good hint.

I'll get both in.
Pushed to trunk and 1.9.1:
http://hg.mozilla.org/mozilla-central/rev/910b07444baf
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/7b9cc253bcb8

Let's mark this resolved and discuss possibilities of using document-os2.ico in bug 502350 that I just filed for this purpose.

Many thanks, Stefan!


(Hmm, this should be fixed1.9.1.1 but that doesn't exist yet, so I'm using fixed1.9.1.)
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: fixed1.9.1
Resolution: --- → FIXED
Attachment #385631 - Attachment description: v5 of firefox-os2.ico → v5 of firefox-os2.ico [Checked in comment 26]
Attachment #386806 - Attachment description: v2 of document-os2.ico apadpted from Windows png → v2 of document-os2.ico apadpted from Windows png [Checked in comment 26]
Keywords: fixed1.9.1fixed1.9.1.1
Can someone that has OS/2 here verify this fix on trunk and a 1.9.1 nightly?  Please change the status and keyword to verified also.   Thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: