Closed Bug 491911 Opened 15 years ago Closed 15 years ago

endKinetic didn't call endPanning, so screen updates sometimes stopped

Categories

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

defect
Not set
normal

Tracking

(fennec1.0b2+)

RESOLVED FIXED
Tracking Status
fennec 1.0b2+ ---

People

(Reporter: bcombee, Unassigned)

References

Details

Attachments

(1 file, 3 obsolete files)

Attached patch Add missing endPanning call (obsolete) — Splinter Review
In the restructure of the kinetic code, we missed calling Browser.canvasBrowser.endPanning() in endKinetic().  Since that's called to end all drags now, we never called endPanning, leaving the canvasbrowser in a high-latency state.
Attachment #376283 - Flags: review?(pavlov)
Attachment #376283 - Flags: review?(pavlov) → review+
Attachment #376292 - Attachment is patch: true
Attachment #376292 - Attachment mime type: application/octet-stream → text/plain
Attachment #376292 - Attachment is obsolete: true
Attachment #376302 - Flags: review?(pavlov)
Attachment #376292 - Flags: review?(pavlov)
tracking-fennec: --- → ?
tracking-fennec: ? → 1.0b2+
Comment on attachment 376302 [details] [diff] [review]
Try #3 - guard internal state of kineticData with isActive call

what do the extra checks in startPanning and endPanning help with? 

Please just early return in endKinetic, rather than putting the whole function in another { }

+    }
+    else {
please put these on one line
Attachment #376302 - Flags: review?(pavlov) → review-
I removed the CanvasBrowser changes -- those were experiments to try to work around mismatched startPanning/endPanning
Attachment #376302 - Attachment is obsolete: true
Attachment #383289 - Flags: review?(pavlov)
Attachment #383289 - Flags: review?(pavlov) → review+
pushed:
https://hg.mozilla.org/mobile-browser/rev/03b08996eeb4
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: