So I tried the custom study and after I have finished studying, I went to delete the custom study deck. And at the left bottom corner it says “2 cards are deleted from custom study deck” which made me worry. Because I saw on YouTube, when people do that it should say '0 cards are deleted". However, when I check the original deck and it is not really affected. I tested out with creating a new deck and without putting any cards in it. And after deleting it, I got the same prompt saying “2 cards are deleted from this test deck”. Not sure what is happening with it. Please anyone help me if you can.
Could you refer your Anki version that you’re using?
Thanks for your reply. This is what it says Version 24.06.3 (d678e393)
You could refer to this thread from the Anki community that may have a similar issue as well - Reddit - Dive into anything
yah I saw that. It’s really weird because mine doesn’t seem to be effecting the number of cards in original deck. But that prompt seems to be just bugging. Because I tried deleting a deck that has 56 cards let’s say. It will still prompt “2 cards are deleted from this deck” - but whole 56 cards is actually gone
But the original deck will still have the number of decks right? I expect when you delete the custom study, it will just go back. From Home Decks
it does go back, back says “2 cards are deleted”, which im finding weird. If I delete any deck not just custom, it will say 2 cards are deleted instead of saying the number of cards that got deleted
Yeah, it sounds like something is stuck or overriding that counter. Try running Tools > Check Database – does that set it right?
I can confirm the same bug here. Creating a new deck and immediately deleting it gives a message that two cards have been deleted. Doing Tools > Check Database did not fix it. Anki 24.06.3 here as well, running on Windows 11.
Creating a new deck and adding three cards, and then deleting the deck gives the same message, that two cards have been deleted.
Edit: debug info:
Anki 24.06.3 (d678e393)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631
Edited to add:
Creating a new profile and performing the same experiment made no difference either, so it’s probably not tied to my collection.
Another edit:
Changing the application language from “English (United Kingdom)” to “English (United States)” “fixes” the issue. The issue returns when changing the language back again.
So, my guess is that there’s an issue with the text string used in the UK English translation.
I’ll reproduce the issue with a clean slate of Anki later. Didn’t expect to be a localization issue once again
I thought I recognized this issue, but I couldn’t find it in my searches earlier! This was spotted a few months ago on Reddit – Reddit - Dive into anything . Only the text of the message is incorrect – everything that is happening with the decks and cards is just fine.
A contributor mistakenly hard-coded the values. So if you delete 1 card, you’ll get the correct “1” message, but 0 or 2+ cards gives you the hard-coded “2” message. The error was only included in the 24.06 builds.
I corrected the string in July, but there hasn’t been another release since then, so it lingers on! Should get better with the next update.
Then no need as it’s actually a mistype within the code. Cant research further with this issue better than this