32

Related: Make voting arrows look different after voting

I am using 1.0.71 on KitKat.

Immediately after voting, the arrow is displayed in red and the vote count is correct. However, when I scroll to read answers and then back to the top, the arrow is grey again and the vote count is reset to the previous value.

A reload of the question (pulling the finger down) is needed to show the correct situation, which is kept from then on.

This case was on security.stackexchange.com but I observed the same behavior on other sites too.

Screenshots

  • original state:
    before voting
  • upvoted:
    arrow and count ok
  • scrolled down and back up
    arrow grey again and wrong count
  • after a reload
    everything ok again
3
  • 2
    I can reproduce. SE app 1.0.71 on Android 5.1.1. Commented Aug 9, 2015 at 15:51
  • 1
    Repro'd and IIRC, this occurs since 1.0.69 beta (the addition of hot network questions on feed) Commented Aug 11, 2015 at 5:22
  • Reproduced on 1.0.85 running on Lollipop.
    – Fiksdal
    Commented Jul 24, 2016 at 16:13

3 Answers 3

9

Posted a question regarding this before I was pointed to this question, so am posting an 'answer' here.

If I cast a vote on a post the vote action (red arrow) is only shown for around half a second and then the vote appears to be retracted (similar to when a vote is immediately reversed when the reputation requirement isn't met).

Let's use this post as an example:

enter image description here

Have not yet cast a vote on it; let's cast an upvote:

enter image description here

half a second later, this gets 'reversed' but however still shows the upvote I cast, but doesn't show that my user has voted yet:

enter image description here

if I try to re-cast the same vote, the upvote count increases to 5 before it is reversed, with the 'You have already voted' error:

enter image description here

then if I refresh the question (by pulling down on the question), it now shows my user voted.

This is on the Stack Exchange Beta Android app (1.0.72) on the Huawei Ascend P8 Lite on Lollipop (5.0.0). I also temporarily left the Beta program, and can confirm this bug exists on the full public (non-beta) version of the app also.

2
  • This seems to only happen after you've voted on an answer. If you vote on a question first then the vote button stays clicked. Do you see this happening as well? Commented Dec 25, 2016 at 19:28
  • This is still happening in the latest release. Commented Oct 26, 2018 at 22:55
5

Also happens when you undo a vote:

Same goes when undoing the vote by tapping it again (after the question has been refreshed, of course). Will prompt "You haven't cast a vote to undo" - Andrew T.

I reproduced this as well. Basically, you up vote or down vote, then refresh, then undo your vote, then tap on "Add comment" (the vote button reverts to orange), then try to undo the vote again. You will then get the error mentioned.

(Source)

1
  • 2
    This bug occurred for me when up voting your answer.
    – Code-Guru
    Commented Sep 26, 2016 at 15:08
0

I was able to reproduce by upvoting then scrolling down and clicking "add a comment". When I scrolled back up, the upvote was gone. It seems to only reset after you have tried to perform an action like adding a comment or answer or voting on an answer.

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