Closed Bug 654136 Opened 10 years ago Closed 10 years ago

Bixi site causing browser content interactivity issues in Fennec

Categories

(Firefox for Android Graveyard :: General, defect, P1)

ARM
Android

Tracking

(firefox6 fixed, fennec6+)

VERIFIED FIXED
Tracking Status
firefox6 --- fixed
fennec 6+ ---

People

(Reporter: aaronmt, Assigned: vingtetun)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Device: Nexus One
Mozilla/5.0 (Android; Linux armv7l; rv:6.0a1) Gecko/20110502 Firefox/6.0a1
Fennec/6.0a1

This site in particular is causing a bunch of browser interactivity issues in Fennec, in particular: panning becomes locked thus preventing access to the awesome bar, access to tabs is denied as the attempt to view the tabs bounces back to the center of the page.

STR:
1. http://toronto.bixi.com
2. Tap the search field, 'What is your current location' directly in the middle of the page.
3. Dismiss the keyboard and then attempt to pan around the site

AR: Site repositions back to the search bar after each user interaction
ER: Browser content interactivity remains intact
Priority: -- → P1
tracking-fennec: --- → ?
So it seems that the form assistant is still enabled and is not dismissed when the virtual keyboard is dismissed as well. Thus it's preventing any other pans while it remains up. Pressing the back button again dismisses the form assistant and allows for free roaming on the site as expected.

This behavior seems greatly unexpected and would expect this to be a bug.

Vivien, what do you think?
Vivien - I am tracking this for FF6 just until we figure out if the site is causing a bad bug.
Assignee: nobody → 21
tracking-fennec: ? → 6+
This is happening because the code to reposition the view depending on the position of the caret do not know anything about the keyboard opened state.

I need bug 651116 to fix that properly.
Depends on: 651116
Attached patch Patch (obsolete) — Splinter Review
Since I'm less and less confident than a way to know if the platform is opened from the content side will make it for ff6, let's do a simple hack to get this information by assuming that if the browser is resize with a new height smaller than the previous one it means a VKB is opened (if the width has not changed, to prevent having fake results because of orientation changes)
Attachment #533588 - Flags: review?(mark.finkle)
Attached patch PatchSplinter Review
Oups, I've forgot to qrefresh before!
Attachment #533588 - Attachment is obsolete: true
Attachment #533588 - Flags: review?(mark.finkle)
Attachment #533595 - Flags: review?(mark.finkle)
Comment on attachment 533595 [details] [diff] [review]
Patch

This isn't too bad.
Attachment #533595 - Flags: review?(mark.finkle) → review+
http://hg.mozilla.org/mozilla-central/rev/c36e2218c101
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Thanks, main issue is gone.

Verified
Mozilla/5.0 (Android; Linux armv7l; rv:6.0a1) Gecko/20110517 Firefox/6.0a1 Fennec/6.0a1
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.