Closed Bug 484271 Opened 15 years ago Closed 15 years ago

ContentPanningHandler gets out of sync when dragging out of window

Categories

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

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bcombee, Assigned: bcombee)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Clear timeout values earlier (obsolete) — Splinter Review
While the IDs should go to -1 on a reset() call, we should set them to -1 sooner in case the reset doesn't happen.
This patch didn't help much, but led to the real problem being found in cancelPending() not resetting the kinetic data.
Summary: InputHandler.js doesn't reset timeout IDs when they're cleared → ContentPanningHandler gets out of sync when dragging out of window
Attachment #368347 - Flags: review?(pavlov) → review+
http://hg.mozilla.org/mobile-browser/rev/cc5ab0d75636

To really get control of the "dragging out of window" problem, I think we need to look into mouse capturing.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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: