Closed Bug 114202 Opened 23 years ago Closed 21 years ago

Improve hit test mask on Mac OS X Mozilla icon

Categories

(SeaMonkey :: UI Design, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lordpixel, Assigned: lordpixel)

References

Details

(Keywords: platform-parity)

Attachments

(1 file)

55.03 KB, application/octet-stream
mikepinkerton
: review+
Details
The icon for Mozilla on Mac OS X is a big M.

Currently, if you click between the legs of the M, the icon is not hit and is
not selected or opened.

Since this icon is only used on versions of Mac OS which support 8 bit alpha
masks, the space between the legs should be masked such that it is 99%
transparent (rather than 100%). This will preserve the visual look while
affording the user a larger area to click without any holes in it.
Attached file Fixed icon
This version of the icon is identical, except that the spaces between the legs
of the "M" have been made 99% transparent in the 8 bit masks.
This means the hit mask (1 bit) is opaque between the legs of the M and
clicking in the space *will* select the icon. This is much much more usable, as
the user doesn't "miss" when clicking inside the legs of the M in the icon
anymore.

Visually, it makes no difference (you can't tell the difference between 99%
transparent and 100% transparent).

I note that debug builds use a resource based version of this file, whereas
release builds (those packaged as .app) seem to use this file, renamed to
129.icns and copied into the application.

Need a Mac build guru to let us know if we need to generate the resource
version manually or whether the build system can do it for us. If needed, I can
make the changes in the resource based version too.
Status: NEW → ASSIGNED
Compulsary comment: I filed it, I attached a fix -> mine
Assignee: mpt → lordpixel
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Comment on attachment 62688 [details]
Fixed icon

you need to manually update the resource file in the tree. the build system
doesn't do it for you.

r=pink
Attachment #62688 - Flags: review+
according to bug 142031, the current icon is too big?
Hmm, I don't think it's too big, but that's not this bug, anyway.
Can we get one of pink's friends to sr= this?
--> XP Apps
Component: User Interface Design → XP Apps
Keywords: pp
Depends on: 88393
We changed the icon in bug 88393, so there are no longer any holes in the mask
-> Fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.