trgkanki / remaining_time

GNU Affero General Public License v3.0
18 stars 3 forks source link

Colors not updating correctly #70

Open akavi1 opened 2 years ago

akavi1 commented 2 years ago

The colors are not correct. I'll press good, and the bar will show a red line. I'll press again, and the bar will show a blue line. Sometimes it shows the right color, sometimes it doesn't. I tested it by pressing good, undo, again, undo, hard, undo, easy. They all resulted in the same red line showing the card was incorrect. If I pause for a while before answering, it'll show a pale red bar regardless of how I answer.

Mac OS 12.4 Anki version 2.1.54

phu54321 commented 2 years ago

Please post a video describing your issue. I suspect that this is not fixable, though. It's a complex issue.

The video should at least these things

You may hide your card's content. That is irrelevant.

This addon doesnt support undo reliably and that is expected. To keep code between PC and mobile the same, addon detects correct/wrong response by looking at the changes on remaining card counts. This is rather heuristic, but it should work most of the time.

akavi1 commented 2 years ago

https://user-images.githubusercontent.com/55925875/189474751-fc1139f7-ce49-4d82-a216-ce1923a266b6.mov

phu54321 commented 2 years ago

Ok this seems like a bug

VinceCold commented 1 year ago

Also noticing this bug. The primary function of the bar filling and timers/ETA calculations still work, so it's not a deal breaker. But the colors seem to work sometimes, and sometimes they are seemingly random. Most of the time it just shows blue whether I got it wrong or right. The color saturation does seem to work all the time though. Weird.

btsworld613 commented 1 year ago

I'm having the same issue with incorrect colors as well. Everything else seems to work fine, though.