Closed
Bug 815359
Opened 12 years ago
Closed 12 years ago
Bing Maps v7 Ajax Pushpin Incompatibility
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
People
(Reporter: dastclair, Assigned: ehsan.akhgari)
References
Details
(Keywords: regression)
Attachments
(3 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
bzbarsky
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
lsblakk
:
approval-mozilla-release+
lsblakk
:
approval-mozilla-esr17+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
joe
:
review+
ehsan.akhgari
:
checkin+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20121119183901
Steps to reproduce:
Go to the Bing Maps v7 Interactive SDK:
http://www.bingmapsportal.com/isdk/ajaxv7#Pushpins9
(Pushpin attach click event is selected)
Actual results:
Clicked on the pushpin. Nothing happens. Click to the right of the pushpin and the click event is fired (in alert section box to the right you'll see text appear).
Expected results:
Clicking on the pushpin should fire the click event.
Confirmed that Firefox 16 does not have this issue.
Comment 1•12 years ago
|
||
I think that the problem is that the handling of the hotspot coordinates of the cur file is different between Firefox16 and Firefox17+.
cursor: url("http://ecn.dev.virtualearth.net/mapcontrol/v7.0/7.0.20121012100453.93/cursors/grab.cur"), move;
Regression window
Good:
http://hg.mozilla.org/mozilla-central/rev/4d59eb5ac2c6
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120822022846
Bad:
http://hg.mozilla.org/mozilla-central/rev/88e47f6905e9
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120822090350
Pshlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4d59eb5ac2c6&tochange=88e47f6905e9
Regressed by: Bug 579517
Updated•12 years ago
|
Blocks: stdint
Status: UNCONFIRMED → NEW
tracking-firefox18:
--- → ?
tracking-firefox19:
--- → ?
tracking-firefox20:
--- → ?
tracking-firefox-esr17:
--- → ?
Component: Untriaged → General
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Comment 2•12 years ago
|
||
At a guess, it's these changes in nsICODecoder::SetHotSpotIfCursor that broke things:
nsCOMPtr<nsISupportsPRUint32> intwrapx =
- do_CreateInstance("@mozilla.org/supports-PRUint32;1");
+ do_CreateInstance("@mozilla.org/supports-uint32_t;1");
nsCOMPtr<nsISupportsPRUint32> intwrapy =
- do_CreateInstance("@mozilla.org/supports-PRUint32;1");
+ do_CreateInstance("@mozilla.org/supports-uint32_t;1");
Ehsan, can you take a look?
Assignee: nobody → ehsan
Comment 3•12 years ago
|
||
Why the interface name kept to nsISupportsPRUint32 while the contract ID has been changed to "@mozilla.org/supports-uint32_t;1"? At least they should be consistent.
Comment 4•12 years ago
|
||
The contract ID didn't change, except in that one method. That's the point.
Assignee | ||
Comment 5•12 years ago
|
||
Holy cow!!!
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #685920 -
Flags: review?(bzbarsky)
Comment 7•12 years ago
|
||
Comment on attachment 685920 [details] [diff] [review]
Patch (v1)
r=me, but any way we can add a testcase?
Attachment #685920 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 685920 [details] [diff] [review]
Patch (v1)
[Approval Request Comment]
Regression caused by (bug #): bug 579517
User impact if declined: this will break clicking on regions with a custom .ico cursor.
Testing completed (on m-c, etc.): locally.
Risk to taking this patch (and alternatives if risky): as small as it gets!
Attachment #685920 -
Flags: approval-mozilla-release?
Attachment #685920 -
Flags: approval-mozilla-esr17?
Attachment #685920 -
Flags: approval-mozilla-beta?
Attachment #685920 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•12 years ago
|
Component: General → ImageLib
Comment 9•12 years ago
|
||
oh good lord
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to comment #7)
> r=me, but any way we can add a testcase?
Do you have any idea how we can test this? I'm not sure I do.
Comment 11•12 years ago
|
||
we'll take this low-risk fix in the 17.0.1 going to build tomorrow so that we reduce our shipping of this regression (only with our currently throttled early 17.0 users). Please land to esr17 relbranch and default.
Updated•12 years ago
|
status-firefox17:
--- → affected
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox20:
--- → affected
tracking-firefox17:
--- → +
Updated•12 years ago
|
status-firefox-esr17:
--- → affected
Assignee | ||
Comment 12•12 years ago
|
||
Attachment #685929 -
Flags: review?(joe)
Comment 13•12 years ago
|
||
Comment on attachment 685929 [details] [diff] [review]
Test
there is a world in which I would r- this for being in the wrong file, but I am not sure this is that world
Attachment #685929 -
Flags: review?(joe) → review+
Assignee | ||
Comment 14•12 years ago
|
||
Assignee | ||
Comment 15•12 years ago
|
||
Assignee | ||
Comment 16•12 years ago
|
||
Assignee | ||
Comment 17•12 years ago
|
||
Comment on attachment 685929 [details] [diff] [review]
Test
https://hg.mozilla.org/integration/mozilla-inbound/rev/109e402b0b24
Attachment #685929 -
Flags: checkin+
Updated•12 years ago
|
Attachment #685920 -
Flags: approval-mozilla-release?
Attachment #685920 -
Flags: approval-mozilla-release+
Attachment #685920 -
Flags: approval-mozilla-esr17?
Attachment #685920 -
Flags: approval-mozilla-esr17+
Attachment #685920 -
Flags: approval-mozilla-beta?
Attachment #685920 -
Flags: approval-mozilla-beta+
Attachment #685920 -
Flags: approval-mozilla-aurora?
Attachment #685920 -
Flags: approval-mozilla-aurora+
Updated•12 years ago
|
Assignee | ||
Comment 18•12 years ago
|
||
Comment 19•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a2ee1d41edff
https://hg.mozilla.org/mozilla-central/rev/109e402b0b24
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 20•12 years ago
|
||
Verified on Firefox 19 RC, build ID: 20130215130331.
Also verified on Firefox 17.0.3 ESR, build ID: 20130215125822.
After clicking on the pushpin, the click event is fired.
Updated•12 years ago
|
QA Contact: manuela.muntean
Comment 21•12 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130220104816
Verified as fixed on Firefox 20 beta 1 - clicking on the pushpin fires the click event.
You need to log in
before you can comment on or make changes to this bug.
Description
•