Closed Bug 522517 Opened 15 years ago Closed 15 years ago

Panning sometimes causes link clicks

Categories

(Firefox for Android Graveyard :: Panning/Zooming, defect, P1)

x86
macOS
defect

Tracking

(fennec1.0+)

VERIFIED FIXED
fennec1.0b5
Tracking Status
fennec 1.0+ ---

People

(Reporter: stechz, Assigned: stechz)

References

Details

Attachments

(1 file)

Try going to news.google.com and panning for a while on the N900.  Occasionally you will discover you have clicked a link.
tracking-fennec: --- → ?
and/or focus fields
Priority: -- → P1
tracking-fennec: ? → 1.0+
Attached patch PatchSplinter Review
It was lockAxis's fault.  On mouseup, if not enough time has expired, a click would *always* happen because lockAxis would return the drag start position.
Assignee: nobody → webapps
Status: NEW → ASSIGNED
Attachment #408079 - Flags: review?
Attachment #408079 - Flags: review? → review?(21)
Comment on attachment 408079 [details] [diff] [review]
Patch

To test it you can go to news.google.com and tries to pan a lot quickly.
Before the patch some accidental click happened (especially during kinetic scrolling)
Attachment #408079 - Flags: review?(21) → review+
pushed:
https://hg.mozilla.org/mobile-browser/rev/b224b864866d
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → B5
verified FIXED on builds (pan down a bit, stop on a link while still in mousedown, wait 1-2 seconds and mouseup...no click):

Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/20091026
Fennec/1.0b5pre

and

Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20091026
Fennec/1.0b5pre


I think we should incorporate this into our litmus testsuite under the screen navigation BFT
Status: RESOLVED → VERIFIED
Flags: in-litmus?
Added to screen navigation BFTs: https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=9829
Flags: in-litmus? → in-litmus+
Component: General → Panning/Zooming
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: