Closed
Bug 604099
Opened 14 years ago
Closed 14 years ago
Panning prevented - this._dragger is null
Categories
(Firefox for Android Graveyard :: Panning/Zooming, defect)
Tracking
(fennec2.0b2+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b2+ | --- |
People
(Reporter: jdm, Assigned: stechz)
Details
Attachments
(1 file)
2.03 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
Visited news.google.com, zoomed in and then performed a bunch of minute pans around the chrome border while experimenting with snapping.
Reporter | ||
Comment 1•14 years ago
|
||
Mouse clicks also yield the same error.
Reporter | ||
Comment 2•14 years ago
|
||
Zooming still works, but I've lost all ability to manipulate page content. Refreshing doesn't fix it, and changing pages also doesn't improve the situation. This should probably block, since this is a serious issue.
tracking-fennec: --- → ?
Reporter | ||
Comment 3•14 years ago
|
||
STR: Zoom in, pan down, zoom out.
Updated•14 years ago
|
Assignee: nobody → ben
tracking-fennec: ? → 2.0b2+
Assignee | ||
Comment 4•14 years ago
|
||
This is not reproducing for me. Could you try on latest nightly?
Reporter | ||
Comment 5•14 years ago
|
||
Yep, I can still repro this really easily on the latest mac nightly.
Assignee | ||
Comment 6•14 years ago
|
||
What is the "zoom in" step? Double tap?
Reporter | ||
Comment 7•14 years ago
|
||
Pinch zoom on my MBP.
Comment 8•14 years ago
|
||
I can reproduce this on Linux desktop: 1. Launch Fennec. 2. Go to http://xkcd.com/ (or any zoomable page, as far as I can tell) 3. Press control-shift-p. 4. After the animation finishes, try to pan.
Assignee | ||
Comment 9•14 years ago
|
||
Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 484092 [details] [diff] [review] Panning prevented - this._dragger is null Matt and I had talked about this bug but I forgot to fix it. doDragStop needs to make sure that we are dragging first.
Attachment #484092 -
Flags: review?(mbrubeck)
Comment 11•14 years ago
|
||
I missed a step in comment 8: after step 2, open the left sidebar (tab controls).
Comment 12•14 years ago
|
||
Comment on attachment 484092 [details] [diff] [review] Panning prevented - this._dragger is null This fixes the problem. I feel like there's still a fragile and unstated invariant in this code, though. Would it be reasonable to wrap both of the "this._dragger = null;" statements in "if (this._dragger)" blocks to prevent this from cropping up again? Or is that likely to indicate a problem that'll be worse if we don't catch it?
Attachment #484092 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 13•14 years ago
|
||
If those errors didn't occur, we'd be calling dragStop when we really shouldn't be. That makes me nervous. It also makes me think input.js should cry loudly when things aren't as it expects (or: unit tests!).
Comment 14•14 years ago
|
||
browser-chrome tests are welcome
Assignee | ||
Comment 15•14 years ago
|
||
Pushed http://hg.mozilla.org/mobile-browser/rev/4e579c4df89b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
I had repro'ed this on Android yesterday. Verified w/ today's build that this is fixed: Mozilla/5.0 (Maemo;Linux armv71; rv:2.0b8pre) Gecko/20101019 Firefox/4.0b8pre Fennec/4.0b2pre Mozilla/5.0 (Android; Linux armv71; rv2.0b8pre) Gecko/20101019 Firefox/4.0b8pre Fennec/4.0b2pre Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101019 Firefox/4.0b8pre Fennec/4.0b2pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•