Anki adds new card to wong deck

I having an issue when adding new cards.

Reproduce steps:

  1. Create decks named bdmg, bdmg::eng_soft, bdmg::estatistica
  2. Create decks named bug_reproduce, bug_reproduce::eng_soft, bug_reproduce::estatistica
  3. Select deck bug_reproduce::estatistica and add a new card
  4. It end up in bdmg::eng_soft deck for some reason.

Video:

Using this version:
Version ⁨24.11 (87ccd24e)⁩
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1

The bug_reproduce deck was created just to reproduce the bug. I encountered the issue while adding a new card to bdmg::estatistica and it also end up in bdmg::eng_soft.

What option do you have chosen in Tools > Preferences > Editing > Default deck?

In your video, you created additional decks, but you never selected them. When you expanded the bdmg deck at the end, you can see that the eng_soft subdeck was still selected. That’s your current deck, so that’s where cards are being created by default. (See the link.)

Admittedly, it does strike me as a little odd that manually changing the deck in the Add Note window doesn’t have any impact. So, the other thing you should check is your note type – make sure it doesn’t have a Deck Override turned on. Card Templates - Anki Manual

If Override is off, we’ll have to wait and hear from the devs whether that’s expected behavior. In the meantime –

  1. Is this only happening with newly created decks? Or are you seeing the same behavior with already-existing decks?
  2. If it’s the same, run Tools > Check Database – and then try this again with existing decks.
4 Likes

Indeed I had the Deck Override turned on for some reason. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.