86

So, I mistakenly down-voted a question and noticed a weird flickering effect which caught my eye:

red circle meme

It seems related to the opacity during the animation.

OS: Windows 10

Browser: Chrome; 70.0.3538.110 (Official Build) (64-bit)

21
  • 57
    I can't tell if people are testing it out on this question or just don't like my report...
    – Script47
    Commented Nov 29, 2018 at 12:58
  • 37
    Rough guess: the embedded javascript reduces it by 1, it doesn't know you already voted for it. The web socket produces the real value after consulting the dbase. The flicker rate tells you how far you live away from NY :) Commented Nov 29, 2018 at 14:01
  • 1
    Do you get that flicker with the digit-value on voting up again also? - If not you could change the title to "Weird flickering effect when changing vote (on downvote)" to be more precise..
    – iLuvLogix
    Commented Nov 29, 2018 at 14:33
  • 16
    The downvotes are clearly because you didn't include red circles in your jiff.
    – MonkeyZeus
    Commented Nov 29, 2018 at 15:27
  • 3
    @MonkeyZeus I never thought the day would come where an avid advocator of circles like myself would get quoted the meme. I am out of my depth here, how can I add circles to GIF? :O
    – Script47
    Commented Nov 29, 2018 at 15:29
  • 17
    Adding free-hand circles to a GIF cannot be taught. It is a natural skill transcendence which separates the casuals from the gifted.
    – MonkeyZeus
    Commented Nov 29, 2018 at 16:02
  • 4
    issue seen with Firefox too. Commented Nov 29, 2018 at 20:48
  • 5
    Apparently your vote gets locked in if you fiddle with it too much. I'm now locked into a downvote on this bug report. Commented Nov 29, 2018 at 20:56
  • 3
    Repro'd consistently in Firefox 63.0.3 on Windows 7.
    – TylerH
    Commented Nov 29, 2018 at 21:08
  • 1
    Repro in Waterfox 56.2.5, Windows 7 Commented Nov 30, 2018 at 2:54
  • 1
    Repro in Chromium Version 70.0.3538.77 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
    – Ferrybig
    Commented Nov 30, 2018 at 8:04
  • 2
    @MonkeyZeus don't you mean GIFed? :p
    – user3956566
    Commented Nov 30, 2018 at 10:18
  • 11
    The lottery yielded an upvote for you i.sstatic.net/NocZA.png
    – Pac0
    Commented Nov 30, 2018 at 10:20
  • 3
    @MonkeyZeus - there - fixed. Commented Dec 1, 2018 at 21:15
  • 2
    @PatrickArtner Thank you for for gracing us casuals with your presence; we are not worthy.
    – MonkeyZeus
    Commented Dec 2, 2018 at 4:12

3 Answers 3

19

Looking closely at the GIF and even testing it on my Google Chrome the behavior appears to be actually counting through the middle number between the value of an upvote and downvote; and vice versa.

You are not seeing a random flicker but rather that the vote goes from 301, split-second at 300, and stop at 299. The same is true in reverse.

However, it seems to be about a 50/50 chance that the "flickering" occurs. Up/down voting your question sometimes causes the "flicker" and other times it just goes to the exact number without stopping in the middle.

2
  • 7
    ajax dice rolls ;)
    – iLuvLogix
    Commented Nov 29, 2018 at 14:37
  • 4
    May be right, but still very poor app behavior.
    – jpmc26
    Commented Nov 29, 2018 at 22:47
12

The cause is:

The number is updated when any of the following occurs:

  • Someone votes on the post and its score changed (event is received via a server broadcast, I guess it's websocket)
  • You click to vote / unvote

This depends a lot on your network connectivity. To explain your GIF, the following (presumably) happened:

  1. You click UP and the page immediately displays an incremented number (301)
  2. The server broadcasts that the new score for the post is 301, which does not cause any visual change
  3. You click DOWN and the page immediately displays a decremented number (299)
  4. Your UP is cancelled and the server broadcast is received. The new score is 300
  5. Your DOWN is applied after cancelling your UP, and the server broadcasts it again. The new score is 299.

Event 4 is the "flicker" that you see. If you're in a bad network environment, it can last longer than just a blink of an eye.

1
  • 2
    Thanks for digging into the root cause here. I have a fix waiting to be built out, and it'll go live with the next prod build.
    – Adam Lear StaffMod
    Commented Jan 8, 2019 at 18:48
5

Just tested this on your question in chrome version 70.0.3538.110 and I get the behaviour described by MonkeyZeus on voting down.

When voting up again however, I just get the color to flicker a bit into lighter grey and then back to normal, but the digit itself doesn't flicker with a different value..

1
  • 1
    Repro on Waterfox 56.2.5 Commented Nov 30, 2018 at 2:54

You must log in to answer this question.

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