Merge note types not updating until after restart

“Merge note types” seems to not take effect immediately, but a restart makes the changes appear.

To recreate the problem:

  1. Export a note (to .apkg)
  2. Add a field to the note type (optionally display the new field in a card)
  3. Export the same note with a new note type to a different file
  4. In a different profile import the original note
  5. Import the altered note with “Merge note types” enabled

If you open the browser and find the note, it has not been updated yet. If you use “Check database” it still doesn’t change anything.
If you try to review the card, you can sometimes see the new field if you displayed it in the card, but if you click “edit” the field will still does not appear.
If Anki is restarted, the note type is finally updated in the browser.

Version 24.11 (97e6b3d3)
I have already tried the steps for troubleshooting.

I’ve logged this on Merge note types not updating until after restart? · Issue #3589 · ankitects/anki · GitHub

2 Likes

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