Bixi site causing browser content interactivity issues in Fennec

VERIFIED FIXED

Status

Fennec Graveyard
General
P1
major
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: aaronmt, Assigned: vingtetun)

Tracking

Trunk
ARM
Android

Details

(URL)

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

6 years ago
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
(Reporter)

Updated

6 years ago
Priority: -- → P1
(Reporter)

Updated

6 years ago
tracking-fennec: --- → ?
(Reporter)

Comment 1

6 years ago
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
Created attachment 533588 [details] [diff] [review]
Patch

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)
Created attachment 533595 [details] [diff] [review]
Patch

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
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 8

6 years ago
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
status-firefox6: --- → fixed
You need to log in before you can comment on or make changes to this bug.