Closed Bug 675596 Opened 14 years ago Closed 7 years ago

Page scrolls to the top when the device switches its orientation from landscape to portrait

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: xti, Unassigned)

Details

Build id : Mozilla/5.0 (Android;Linux armv7l;rv:6.0)Gecko/20110729 Firefox/6.0 Fennec/6.0 Device: HTC Desire Z OS: Android 2.2.1 Steps to reproduce: 1. Open Fennec App 2. Switch device orientation to landscape 3. Browse to www.yahoo.com (Desktop version) 4. Scroll down to the last news from the list 5. Perform a zoom in action 6. Switch device orientation to portrait Expected result: After step 6, scroll position is the same as it was after step 5. Actual result: After step 6, Fennec scrolls to the very bottom of the page. Notes: This issue might be a regression from Bug 588624. Please see the following video: http://www.youtube.com/user/qaioana#p/a/u/0/oOtT0b9tU6w
Your actual result comment differs from what I see in the video (bottom, is in fact the top). Matt, what is the actual expected behaviour here?
Summary: Page scrolls to the bottom when the device switches its orientation from landscape to portrait → Page scrolls to the top when the device switches its orientation from landscape to portrait
(In reply to comment #1) > Your actual result comment differs from what I see in the video (bottom, is > in fact the top). Matt, what is the actual expected behaviour here? My mistake. The page scrolls to the top, as you said. I've tried the same steps, but reversed at step 2 and 6 and the actual result in this case, is the same with the expected result.
In the video it looks like it's scrolling to the focused search box.
(In reply to comment #3) > In the video it looks like it's scrolling to the focused search box. This issue occurs also on pages without any input field.
So this only happens with Fennec 6, right? Not with Fennec 7 or trunk builds?
(In reply to Martijn Wargers [:mw22] (QA - IRC nick: mw22) from comment #5) > So this only happens with Fennec 6, right? Not with Fennec 7 or trunk builds? I was able to reproduce it on the latest nightly build. -- Build id : Mozilla/5.0 (Android;Linux armv7l;rv:8.0a1)Gecko/20110808 Firefox/8.0a1 Fennec/8.0a1 Device: HTC Desire Z OS: Android 2.3.3
Ok, thanks, Cristian. I can reproduce it with desktop yahoo.com, using current trunk build, but I haven't been able to reproduce on http://nu.nl for instance.
Version: Firefox 6 → Trunk
(In reply to Martijn Wargers [:mw22] (QA - IRC nick: mw22) from comment #7) > Ok, thanks, Cristian. I can reproduce it with desktop yahoo.com, using > current trunk build, but I haven't been able to reproduce on http://nu.nl > for instance. For http://nu.nl, if I scroll down the page and I zoom in the last article, the page doesn't scroll to the top, but somewhere to the middle of it.
Could we check this against Firefox 5 and 4. If it is a regression mark it as such and find a regression window.
(In reply to Kevin Brosnan [:kbrosnan] from comment #9) > Could we check this against Firefox 5 and 4. If it is a regression mark it > as such and find a regression window. I was able to reproduce this issue on Firefox 5 and 4.
I've tried to find a regression window for this bug, but it occurs since the first android builds were burned.
Thanks for looking into this. I can't reproduce this using the Native UI Nightly.
Same issue occurs here: 1. Go to http://www.toyota.com/responsive/ 2. Scroll down the page 3. Change orientation 4. User is returned to top of page
I can also reproduce on http://www.toyota.com/ on Galaxy Note 3 (4.4.2). All current branches are affected.
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.