Closed
Bug 767600
Opened 13 years ago
Closed 12 years ago
Long tap stops working after trying to long tap in an iframe
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Tracking
(firefox15 verified, firefox16- verified)
VERIFIED
FIXED
Firefox 16
People
(Reporter: Margaret, Assigned: Margaret)
References
Details
(Keywords: regression)
Attachments
(2 files)
16.40 KB,
text/plain
|
Details | |
8.93 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
I came across this while trying to test text selection, but it doesn't seem to be (at least directly) related to my code. This happens after long tapping in one of the iframes here:
http://people.mozilla.com/~mleibovic/test/text_select_iframe.html
If I try going to the awesomescreen to navigate to another page, I eventually end up with an ANR dialog.
I attached the relevant logcat. When I tried to long tap in the iframe, this is the line that appeared:
I/GeckoSubdocumentScrollHelper( 2503): Got message: Panning:Override
Assignee | ||
Comment 1•13 years ago
|
||
Wes, cc'ing you in case you have time to lend any advice here.
Updated•13 years ago
|
Severity: normal → critical
tracking-firefox16:
--- → ?
Updated•13 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Comment 2•13 years ago
|
||
The immediate problem was caused by an infinite loop in updateCacheOffset, but after fixing that, I realized that my iframe calculations had a bunch of problems. After much thinking things through, I realized that we don't need to be computing that total scroll offset like we were, since almost all the time we just need coordinates relative to _view. The only time we really need any offset is when we're trying to compute pointInSelection in endSelection, and that isn't a scroll offset, but rather the offset of the positioning of the iframe. I made a some test pages to test this out, and it looks to be working well now:
http://people.mozilla.com/~mleibovic/test/text_select_iframe.html
http://people.mozilla.com/~mleibovic/test/two_level_iframes.html
Assignee: nobody → margaret.leibovic
Attachment #636561 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•13 years ago
|
Blocks: text-selection
Updated•13 years ago
|
Attachment #636561 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Target Milestone: --- → Firefox 16
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
This has been resolved and doesn't seem to be a regression so we won't track this.
Assignee | ||
Comment 7•12 years ago
|
||
Uplifted to aurora as part of a roll-up patch:
https://hg.mozilla.org/releases/mozilla-aurora/rev/2fb0a358eaf6
Comment 8•12 years ago
|
||
Verified on SE Xperia mini pro with fennec 15 beta 2.
Status: RESOLVED → VERIFIED
Comment 9•12 years ago
|
||
Unable to reproduce the issue on:
Firefox Mobile 16.0b5 / Aurora 16.0a2 2012-09-26/ Nightly 17.0a1 2012-09-27
Samsung Galaxy R (Android 2.3.4)
Marking as verified on Firefox Mobile 16
Updated•11 years ago
|
tracking-fennec: ? → ---
Updated•4 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
•