This bug is crossposted between AnkiDroid and anki’s forum. It occurs with 2.1.35 anki and current master (15.alpha?) of ankidroid.
- In ankidroid’s card browser, search for “A” and save this search as “A”
- Sync ankidroid, then anki
- In anki, open the browser. Remark that “A” is not listed as a search. Create a search “B” and save it as “B”.
- Sync anki then ankidroid
- Open ankidroid card browser and look at the list of saved search. It contains B and not A.
Ideally, in step 3, A would have appeared in the card browser since it’s added in the configuration’s “savedFilter”. In any case, it should not have disappeared from Ankidroid at step 5.
The sync occurs in rust, I don’t understand it, so I’ve no idea exactly what occurs. I suspect at least that anki ignores the change in config and don’t believe it’s expected.
Edit, I can’t systematically reproduce, but I can’t figure out either what are the requirement for the bug to occurs. It seems to only occur when anki’s browser is opened during the sync, and only if I allowed add-on to load with anki. But sometime, the open browser update, even when add-ons are loaded.