7

Stack Exchange's latest update, 1.0.49, has glitchy, jumpy scrolling while viewing a question. It appears to be a jump-to because it returns to the end of a question/ answer.

Android 4.1.2 LG L39C (Optimus Dynamic II) 3.8" 320x480 screen Stack Exchange 1.0.49

0

3 Answers 3

1

Fixed in the next update!

This was a really fun bug. At first I assumed it had to do something with the pull-to-refresh library being over eager on touch events, but it ended up being much simpler: Since some of the posts in the list had selectable elements (pictures, code blocks, etc) the ListView was assuming all children themselves were selectable too. So what happened was you tapped on an image to open it in the new window, but ended up also "selecting" the list item which caused it to scroll to the top.

7
  • That will do that... Thanks for fixing it!
    – EasyasPi
    Sep 22, 2014 at 20:08
  • Looking great; just received the update! I have some more comments about the lightbox view that I will make a separate post for, but is that what you call it - the lightbox view?
    – ADTC
    Sep 23, 2014 at 0:24
  • 1
    @ADTC Lightbox is a good term for it, let's go with that :) Sep 23, 2014 at 2:58
  • @Kasra the pull to refresh still jumps from question to answer then back to question.
    – ADTC
    Sep 23, 2014 at 11:30
  • Also does the app support suggested edits yet? I just get an error that "Account is not allowed to suggest edits" (which is wrong because I then did it via the mobile site). I also couldn't see the edits in the app after-the-fact while the review is pending (when the website says it will only be visible to me).
    – ADTC
    Sep 23, 2014 at 11:35
  • @ADTC looking into PTR issue. The app doesn't have suggested edits yet, since the API doesn't have them. Sep 23, 2014 at 12:24
  • 1
    Well it is mostly fixed now, but I still see the issue in clicking comment
    – EasyasPi
    Sep 24, 2014 at 11:24
1

Having this on SGS3 I9305 as well. You can consistently reproduce this by swiping left on any comment (when there is room to scroll up). But otherwise it just jumps around randomly.

You can also reproduce this by swiping left and right on code blocks in a question like this. It's extremely unsightly when it does that. The app is almost unusable!

I think it's also related to the pull to refresh feature. Even though it's exactly how Gmail does it, I actually dislike it. I would prefer if the actual question did not get really pulled down (just have the blue bar on top fill up or empty itself as I move my finger up and down) OR if the question remains pinned to my finger (giving me a sense of control) only going up when I release it by lifting my finger.

9
  • Ya same, and with the pull to refresh, I like the old way where it says "Pull down to refresh" instead of a faint blue indicator.
    – EasyasPi
    Sep 21, 2014 at 20:21
  • 1
    +1 I'm not getting weird and jumpy scrolling when I swipe a comment, but I am getting it when I tap to open a code block. Earlier today, when tapping to open images in an answer (this one), the app would jump to the top of the answer sometimes. Both have that pop-up frame in common. This is really weird! Sep 22, 2014 at 0:44
  • @EasyasPi Sadly the current pull-to-refresh is the new official Android way and the only way that's supported in new ListViews :( Sep 22, 2014 at 17:19
  • I've noticed the tapping-code-block issue too, looking into it. Sep 22, 2014 at 17:19
  • @Kasra Rahjerdi Could you maybe change the color to something brighter, like #33b5e5?
    – EasyasPi
    Sep 22, 2014 at 19:05
  • 1
    @EasyasPi I'm definitely a fan of changing the color to make it more obvious, playing around with different colors right now. Sep 22, 2014 at 20:05
  • I don't see the mixed colors in the refresh indicator. I think the current blue and the action bar's blue would be nice. Or how about the action bar blue and the upvote orange?
    – ADTC
    Sep 23, 2014 at 1:15
  • @Kasra I love the "pull to refresh" version used in the questions list (search results) of a site. That's way better than the "official Android way" used in individual questions, as it feels more natural and fluid. Not to mention it's a proper indicator and uses a better color. I hope you will consider copying that same mechanism to the question detail view (not the other way around, please!). Not everything has to be by the book :)
    – ADTC
    Sep 23, 2014 at 1:38
  • 1
    @ADTC Me too :( Sadly it flat out doesn't work with RecyclerView, the new list UI view in Android. Hopefully when Android L actually comes out they'll release the source code for RecyclerView and I can make it work with our other pull-to-refresh library. Sep 23, 2014 at 2:59
1

This may be partially related to the pop-up pane from code blocks and images. (Or at least, that's one circumstance in which scrolling goes loopy.)

Earlier today when tapping images in this answer the app would sometimes scroll to the top of that answer.

In the question ADTC linked, tapping a code block often leads to the question behind scrolling erratically once or twice.

This is in Android app v1.0.49 on a HTC One running Android 4.4.3.

1
  • 1
    Very often the behavior is erratically scrolling to the top of the question or the top of the answers, like there are anchors there and someone clicked a link to the ⚓.
    – ADTC
    Sep 22, 2014 at 1:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .