Closed Bug 819638 Opened 13 years ago Closed 12 years ago

Content doesn't correctly reflow when opening / closing the keyboard

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

20 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: yannbreliere, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/18.0 Firefox/18.0 Build ID: 20121122155023 Steps to reproduce: On a Nexus 7, I logged in Persona (browser id), and the page in the login popup behaves erratically when opening and closing the keyboard to type in the fields. Actual results: Sometimes, it looks like there is some lag when reflowing the page when the keyboard opens. The content resizes, but for example, the cursor "drag handles" stays where it was when I clicked, but the field is now upper in the page (see screenshot). When rotating or closing the keyboard, sometimes the content doesn"t reflow at all, see the 2 screenshots in "landscape". Expected results: When clicking in a field, if the keyboard appearing moves the field around, the text cursor should move with the field. When rotating, opening and closing the keyboard, the content should resize correctly and responsively. If there is not enough space for the keyboard and the content (in landscape), the "fullscreen" view of the keyboard should appear (like it does on a mobile phone), this would avoid some poor re-layouts. Sorry if some of these problems are not related, maybe there are duplicates somewhere? If not, maybe someone can tell me on what part of the problem this bug should focus.
OS: Linux → Android
Hardware: x86 → ARM
(In reply to Yann Brelière from comment #0) > The content resizes, but for example, the cursor "drag > handles" stays where it was when I clicked, but the field is now upper in > the page (see screenshot). This part is bug 803075, and should not be considered as part of this bug. The page not reflowing does seem like a problem though. Does it happy on any other pages too, or just the Persona login?
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3) > Does it happy on any s/happy/happen/
Thank you for the link. About the reflowing problem I've only seen it on the persona login page. It looks like it uses a lot of media queries.
It might be the same problem as bug 801984.
I tried rotating and showing/hiding the keyboard on a persona login page and wasn't able to get it into a state where it didn't reflow. I tried on both the Galaxy Tab and the Galaxy Nexus. I do agree that the page resizes/shifts around a lot while doing this though.
Do you still see this on recent Firefox builds? (Aurora/Nightly) ?
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can't reproduce it anymore. Seems fixed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
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

Creator:
Created:
Updated:
Size: