Closed
Bug 723597
Opened 12 years ago
Closed 12 years ago
Spurious mouseover event fired on page load
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 affected, firefox12 affected, blocking-fennec1.0 +)
VERIFIED
FIXED
Firefox 13
People
(Reporter: martijn.martijn, Assigned: blassey)
References
()
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
652 bytes,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
See url testcase, I get to see: mouseover on DIV - e.screenX: 213 e.sceenY: 96 on my LG Optimus Black and: mouseover on DIV - e.screenX: 135 e.sceenY: 204 No mouseover event should be firing while I don't touch the screen of my mobile device.
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Is this only on the LG Optimus?
Reporter | ||
Comment 2•12 years ago
|
||
No, I can also reproduce this on the Samsung Galaxy Nexus. I can always reproduce this, when loading the testcase, then focusing the url bar and then pressing enter in the vkb.
Updated•12 years ago
|
blocking-fennec1.0: --- → ?
Comment 3•12 years ago
|
||
we need to know what is going on here.
blocking-fennec1.0: ? → +
Priority: -- → P2
Assignee | ||
Comment 4•12 years ago
|
||
I can't reproduce on current trunk or maple. Martijn confirms that.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 5•12 years ago
|
||
Ok, I can still reproduce this with the following steps to reproduce: - Visit http://people.mozilla.com/~mwargers/tests/touch%20events/doubletap.htm - Tap on black border box at the top - Tap on the url bar, press 'Enter' to load the url again I think this is related to bug 679356.
Reporter | ||
Comment 6•12 years ago
|
||
With the black border box, I mean the top box with the "double tap on this normal div, double tap on this normal div" text in it.
Reporter | ||
Comment 7•12 years ago
|
||
This might not be related to bug 679356 at all. The testcase in that bug ( https://bugzilla.mozilla.org/attachment.cgi?id=553479 ) doesn't act as buggy in current Native Fennec.
No longer depends on: 679356
Comment 8•12 years ago
|
||
Is it just a synth mouse move? I would think we wouldn't send them unless we got a mouse move event before, but maybe another type of event is recorded and we get a synth mouse move after that. Since there is no such thing as a mouse cursor in Fennec, maybe we don't need synth mouse moves at all for Fennec?
Comment 9•12 years ago
|
||
We used to fire a mouse event every time we got a page resize due to a bug in nsWindow.cpp which I imagine could have been what we were seeing here. That should be fixed now by bug 603008 (in both XUL and Native).
Assignee | ||
Comment 10•12 years ago
|
||
looks like Timothy was right, this patch to bail before sending synth mouse moves fixes the issue. I suspect that this isn't really how we want to fix it though.
Assignee: nobody → blassey.bugs
Status: REOPENED → ASSIGNED
Attachment #605168 -
Flags: review?(tnikkel)
Comment 11•12 years ago
|
||
Comment on attachment 605168 [details] [diff] [review] patch I don't know enough about touch based browsers to know if we ever want mouse moves, or synth mouse moves at all. It would be nice if someone with knowledge could speak about this. With that said there appears to already be a pref, layout.reflow.synthMouseMove, that stops synth mouse moves from triggering after a reflow (one of a few points we trigger one). You'd probably just want to use that pref here to accomplish this.
Assignee | ||
Comment 12•12 years ago
|
||
that pref is already set to false for fennec http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.js#159
Assignee | ||
Comment 13•12 years ago
|
||
Attachment #605168 -
Attachment is obsolete: true
Attachment #605168 -
Flags: review?(tnikkel)
Attachment #605213 -
Flags: review?(tnikkel)
Updated•12 years ago
|
Attachment #605213 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 14•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e77ca0c6e435
Whiteboard: [inbound]
Comment 15•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e77ca0c6e435
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → Firefox 13
Reporter | ||
Comment 16•12 years ago
|
||
Verified fixed in today's build on the Samsung Galaxy Nexus.
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
status-firefox13:
affected → ---
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•