Last modified: 2012-03-22 13:16:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37369, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35369 - Changing pages keeps at same scroll position
Changing pages keeps at same scroll position
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
3.1.0 (iOS) / 1.1 (Android)
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-20 21:58 UTC by Sam Reed (reedy)
Modified: 2012-03-22 13:16 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-03-20 21:58:27 UTC
on ICS 4.0.2

Start on front page, scroll down a bit. Select any link you want, when the next page is loaded you will still be at the same scroll position - ie the application doesn't scroll back to the top of the new page (and the link isn't to a section)
Comment 1 Brion Vibber 2012-03-21 20:08:19 UTC
I can confirm this on Galaxy Tab 10.1 w/ Android 3.2, and Galaxy Nexus w/ Android 4.0.3.

The scrollTop setting in chrome.scrollHack() *should* reset the scroll to the top, and it appears correct in source. I can add alert()s to check the scroll position and can confirm that it has a scroll position before modifying it, but the scrolling doesn't seem to actually get fixed. :(
Comment 2 Yuvi Panda 2012-03-22 00:30:18 UTC
I found http://code.google.com/p/android/issues/detail?id=19625 which is completely not very promising :(
Comment 3 Sam Reed (reedy) 2012-03-22 00:55:04 UTC
Well that sucks.
Comment 4 Yuvi Panda 2012-03-22 00:55:58 UTC
But it can't be - scrolling must be possible somehow. The Mobile site does it, so am poking at it to figure out how.
Comment 5 Yuvi Panda 2012-03-22 01:06:45 UTC
Okay, The Mobile site uses window.scroll, which won't work for the app :(
Comment 6 Jon 2012-03-22 11:34:16 UTC
I don't like it... but it seems hiding and showing forces it to the top (at least on ice cream sandwich)
https://github.com/wikimedia/WikipediaMobile/pull/185

egrgg... /me goes to wash his hands
Comment 7 Yuvi Panda 2012-03-22 13:16:05 UTC
Fixed (verified by Astagi)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links