Closed Bug 839199 Opened 11 years ago Closed 11 years ago

Text input field at bottom of web page is hidden when VKB opens

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 830760

People

(Reporter: kats, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

From https://bugzilla.mozilla.org/show_bug.cgi?id=810171#c15:

Case 1: On the Galaxy Nexus in portrait orientation
Load news.ycombinator.com
Tap on Search field at bottom of page
a) -> sometimes VKB comes up, page is zoomed and repositioned, but Search box is not visible (it is off to the right)
b) -> sometimes VKB comes up, page is repositioned but not zoomed, Search box is obscured by VKB

Case 2: Galaxy Nexus in portrait orientation
Load robocop_input.html (from testVkbOverlap)
Scroll down and tap input field
a) -> usually VKB comes up, page is repositioned and zoomed, input field is visible (works correctly)
b) -> sometimes VKB comes up, page is repositioned (and zoomed?), but input field is partially obscured by VKB

Case 3: Galaxy Nexus in landscape orientation
Load robocop_input.html (from testVkbOverlap)
Scroll down and tap input field
a) -> VKB comes up and obscures input field (consistently)
Comparing cases 2a) and 3a), I noticed that, in landscape only, _isRectZoomedIn returns true here:

https://hg.mozilla.org/mozilla-central/file/a46bc920998d/mobile/android/chrome/content/browser.js#l4238
Blocks: 837318
Attached patch partial solutionSplinter Review
This addresses Case 3 only...more to do here.
Changes in bug 830760 may affect the behavior here.
I tested with the 2 patches in bug 830760 + the patch from Comment 2: Case 1 is also improved -- usually the Search field is visible. I still see intermittent problems for all cases; not sure what is different from one tap to the next.
Re-tested with the final patches landed in bug 830760: all of the anomalies identified here are fixed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: