Closed Bug 614606 Opened 9 years ago Closed 9 years ago

Find in Page does not scroll down when hitting the previous button the first time

Categories

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

ARM
All
defect
Not set

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nhirata, Assigned: vingtetun)

Details

Attachments

(1 file)

Mozilla/5.0 (Android; Linux armv71; rv2.0b8pre) Gecko/20101124 Firefox/4.0b8pre Fennec/4.0b3pre
Mozilla/5.0 (Maemo; Linux armv71; rv:2.0b8pre) Gecko/20101124 Firefox/4.0b8pre Fennec/4.0b3pre

1. go to http://people.mozilla.com/~nhirata/html_tp/formsninput.html
2. select the site icon
3. select find in page
4. type in "a"
5. hit the up arrow for the find in page

Expected: Pan to the bottom of the page where the "a" is highlighted
Actual: no pan occurs, if you pan to the bottom the "a" is highlighted
I noticed a similar issue on HTC Desire, 
Build ID: Mozilla /5.0 (Android;Linux armv7l;rv:2.0b8pre) Gecko/20101128 Firefox/4.0b8pre Fennec /4.0b3pre

Steps to reproduce:

1. Go to “about:” system page
2. Bring up the “Find In Page” toolbar by tapping on the page favicon and then “Find in page”.
3. Enter string “mozilla” in the search field.

Expected result:
As you enter the string, character by character, the page scrolls along to the location of found text which is highlighted.

Actual result:
No panning occurs. The first string "mozilla" is highlighted, but tapping the down arrow does not pan the page to the second string "mozilla". One has to dismiss the VKB to see the highlighted string.


Note: TC in litmus: https://litmus.mozilla.org/show_test.cgi?id=12599
Attached patch PatchSplinter Review
Check the isCollapsed attribute if the selection to avoid taking it into account when calculating the selection's position.
Assignee: nobody → 21
Attachment #493678 - Flags: review?(mark.finkle)
Attachment #493678 - Flags: review?(mark.finkle) → review+
Whiteboard: [fennec-checkin-postb3]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
verified FIXED:
Mozilla/5.0 (Maemo; Linux armv71; rv:2.0b8pre) Gecko/20101210 Namoroka/4.0b8pre Fennec/4.0b3pre

and

Mozilla/5.0 (Android; Linux armv71; rv:2.0b8pre) Gecko/20101210 Namoroka/4.0b8pre Fennec/4.0b3pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.