Unexpectedly switched card face

In Version ⁨25.02.5 (29192d15)⁩

I was just looking at an answer card from built-in Image Occlusion, when it suddenly switched to the question side of that card, occluding the answer I was reading. I gave no input to cause this – I was not touching the mouse or keyboard.

What happened?

It’s hard to tell if you can’t reproduce this issue from following some specific steps.

Is Anki doing anything in the background when I’m looking at a card or is it just waiting for me?

It is running a timer internally, which is used to track how long you’re viewing the cards (e.g. for the stats screen). Aside from that, it’s just waiting for you as far as I know.

That is, if your template doesn’t use background jobs, of course.

In the Deck Options check the Auto Advance section, and make sure “Seconds to show question for” is set to the default value of zero.

It is.

Auto Advance only takes effect when you enable it from the More menu in the review screen or using the hotkey, so it’s weird if it’s triggering automatically.

I think OP’s problem is the opposite of auto advance; the card flipped from back to front.

2 Likes

Overall, I’d recommend upgrading to 25.02.7 (the most recent). There were a couple of unusual behaviors that cropped up in that series of patch releases, so best to get to the end of it.

  • Did this only happen that one time? Or does it happen on rare occasions? Or does it happen often, but not in a reproducible way? Do you remember it happening ever before you upgraded to 25.02.5?

  • Do you close Anki and/or restart your computer regularly (daily?)?

  • Have you tried the things on the Troubleshooting Checklist? [It’s hard to troubleshoot it if you can’t get it to happen again, but that’s the list of “first things to try” when strange things happens. ]

  • Go to Help/Anki > About – click “Copy Debug Info” – paste that entire result here.

1 Like

I think it might’ve happened once or twice before, but I can’t remember what version I was on at the time. I have no idea how to reproduce it.

If this event is not a symptom of a bigger issue, it’s not much of a problem and I’m not worried about it happening once in a while.

No. Is there a particular reason why a long-running session would cause problems?

Anki 25.02.5 (29192d15)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Linux-6.14.8-x86_64-with-glibc2.40

1 Like

I don’t know from the code side, but I actually had a lot of segfaults in anki once after I left it open for several hours (including in suspend). It never happened again and I do not have steps to reproduce. I do have the issue I had opened, though:

That was the first bug I every reported for Anki and is the beginning of my contributions here. I was somewhat hoping to be able to reproduce it or to find out what could cause something like this. Maybe this issue helps you to find out more. And if it does, please share it with me.

2 Likes

Is that the whole thing and you’ve got no add-ons installed?

Yes

Two addons were installed but both disabled.

If you’ve ruled out add-ons and are seeing it with the latest Anki version, the only other thing I can think of is that your ‘next day starts at’ setting might be set to a time when you’re in the middle of studying.