Closed
Bug 1115418
Opened 10 years ago
Closed 9 years ago
Cursor hotspot ignored when ICO file contains PNG data
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugzilla77, Unassigned)
References
Details
Attachments
(3 files, 2 obsolete files)
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Steps to reproduce:
http://bugs.idsl.pl/firefox/hotspot.html
Green block is associated with hotspot_bitmap.cur cursor (containing BITMAP format data).
Red block is associated with hotspot_png.cur cursor (containing PNG format data).
Both cursors look identical.
Both cursors contain binary defined hotspot 31px 31px (file char positions: 10, 12).
Actual results:
hotspot_png.cur hotspot is ignored!
Expected results:
hotspots respected
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Attachment #8541318 -
Attachment is obsolete: true
Reporter | ||
Comment 4•10 years ago
|
||
Looks like nsICODecoder::WriteInternal only calls SetHotSpotIfCursor() when !mIsPNG.
Also reproducable on Linux.
Status: UNCONFIRMED → NEW
Component: Layout → ImageLib
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86 → All
Summary: Cursor hotspot ignored → Cursor hotspot ignored when ICO file contains PNG data
Please note that all 3 duplicates of this bug, and this bug, were filed by the same person.
Please don't file multiple instances of the same bug in the future.
And note that bug 976522 comment 3 contains a little bit of debugging (although probably comment 8 is a better place to start).
Blocks: 600556
Reporter | ||
Comment 11•10 years ago
|
||
Sorry, should be:
Both cursors contain binary defined hotspot 31px 31px (file char positions: 10-11, 12-13).
Reporter | ||
Updated•10 years ago
|
Attachment #8541319 -
Attachment is obsolete: true
Reporter | ||
Comment 12•10 years ago
|
||
Reporter | ||
Comment 13•9 years ago
|
||
Seems to be fixed in Firefox 44.0
Now, only problem is: hotspot_bitmap.cur is not visible
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•