Closed
Bug 95894
Opened 24 years ago
Closed 23 years ago
Turbo icon is horked
Categories
(Core Graveyard :: QuickLaunch (AKA turbo mode), defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
Attachments
(1 file, 1 obsolete file)
1.02 KB,
patch
|
law
:
review+
|
Details | Diff | Splinter Review |
System tray icons can only support up to 16 colors, hence how bad they currently
look :-)
Updated•23 years ago
|
QA Contact: sairuh → jrgm
Comment 1•23 years ago
|
||
is 16 a limitation of the windows system tray, what about the rest of the start
bar?
Comment 2•23 years ago
|
||
are there other icons (plural) needed for system tray? or just turbo?
Assignee | ||
Comment 3•23 years ago
|
||
All that's needed now is the N for commercial, mozilla's gecko is fine (this
should really be a bugscape bug).
Comment 4•23 years ago
|
||
at the moment we have no control over the system tray icon, windows is so
intelligent, that it just takes and dithers and distorts the application icon.
so, there is no "system tray icon", just the application icon. if you come up
with a way to have one, then that would be great.
Assignee | ||
Comment 5•23 years ago
|
||
mIconData.hIcon = ::LoadIcon( ::GetModuleHandle( NULL ), IDI_APPLICATION )
MSDN wasn't too helpful in identifying other possible constants besides
IDI_APPLICATION, other than things like IDI_EXCLAMATION and the other standard
win32 msgbox icons.
Bill, any ideas?
Comment 6•23 years ago
|
||
Comment 7•23 years ago
|
||
what's weird is that the 4bit icon in the App.ico is fine, so i am not sure what
the deal is. System tray must be destroying it
::LoadIcon probably loads the first image in the icon resource. When the system
tray gets that, it scales/dithers. The fix *might* be to use ::LoadImage to
load the properly-sized icon, which the system tray would then use without
screwing it up.
There's an example of the necessary ::LoadImage call at
http://lxr.mozilla.org/seamonkey/source/widget/src/windows/nsWindow.cpp#4612.
That code loads icons from .ico files, but converting it to load the application
icon from the .exe resource is straightforward.
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 9•23 years ago
|
||
--> QuickLaunch, because I'm not sure what to do with this. It sure is ugly, though.
Assignee: blakeross → law
Component: XP Apps: GUI Features → QuickLaunch (AKA turbo mode)
QA Contact: jrgm → gbush
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → ---
Comment 10•23 years ago
|
||
Blake, did you try loading the icon size
::GetSystemMetrics(SM_CXSMICON) x ::GetSystemMetrics(SM_CYSMICON)
as I suggested? I think that should work, but if you tried that, please let me
know.
->mozilla0.9.9
Target Milestone: --- → mozilla0.9.9
Comment 11•23 years ago
|
||
balancing move of Helper App Mgt feature work bugs to this milestone
Keywords: nsbeta1+
Target Milestone: mozilla0.9.9 → mozilla1.0
Assignee | ||
Comment 12•23 years ago
|
||
-> me
Assignee: law → blaker
Summary: Turbo needs better icon(s) → Turbo icon is horked
Assignee | ||
Comment 13•23 years ago
|
||
your idea did work, Bill
Attachment #47931 -
Attachment is obsolete: true
Comment 14•23 years ago
|
||
Comment on attachment 67560 [details] [diff] [review]
patch
r=law
...after you fix the typo and change the second SM_CXSMICON to SM_CYSMICON.
Attachment #67560 -
Flags: review+
Assignee | ||
Comment 15•23 years ago
|
||
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 17•23 years ago
|
||
QA: this is a real gui bug which should be verified by twiddling with gui settings not by code inspection.
Updated•12 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•