Closed Bug 784615 Opened 10 years ago Closed 2 years ago

View jumps to the top of the page when the search string does not match any word on the page


(Firefox for Android Graveyard :: General, defect)

Not set


(firefox20 affected, firefox21 affected, firefox22 affected, firefox23 affected, firefox28 affected, firefox29 affected, firefox30 affected, firefox31 affected, fennec-)

Tracking Status
firefox20 --- affected
firefox21 --- affected
firefox22 --- affected
firefox23 --- affected
firefox28 --- affected
firefox29 --- affected
firefox30 --- affected
firefox31 --- affected
fennec - ---


(Reporter: AdrianT, Unassigned)


Firefox Mobile 15 beta 6 build 1/ Nightly 17.0a1 2012-08-21
Device: Asus Transformer (Android 4.0.3)

Steps to reproduce:
1. Load
2. Open "Find in page" type "firefo" and advance through a few results to position the view somewhere lower in the page
3. Add a "c" to the search field so the search string is "firefoc"

Expected results:
When the search string does not exist on the page no word is highlighted

Actual results:
No word is highlighted but the view jumps to the top of the page regardless of where the page was positioned before.

On the stock Android Browser the highlight is just removed but the scroll position is not changed
This sounds working as expected to me.
Ian what is the expected behavior here?
tracking-fennec: ? → -
I talked with Ian on IRC and here are the conclusions:

1. ibarlow Xti: Hm, yeah I don't think we should jump to the top. We should maintain the most recent scroll position, and turn off the highlight on the last matched word

A suggestion was that every new search should start from the beginning.
2. ibarlow: I agree with that behaviour, that a new search would start from the top of the page

I guess that all can be fixed through to this bug.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly]( an issue can be reported at the [Fenix GitHub project]( If you want to discuss your report please use [Mozilla's chat]( server and join the [#fenix]( channel.
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.