Image Occlusion (23.12.1) - "Cloze" order changes when editing masks

Hello! Thank you for the native integration of Image Occlusion into Anki. However, whenever I edit an existing mask, it changes the order of the “Cloze”.

For example, let’s say I have an image occlusion card with 3 boxes (occlusions), where Box 1 corresponds to IO1, Box 2 with IO2, and Box 3 with IO3. If I change the size of Box 1, the following changes occur:
Box 1 becomes IO3
Box 2 becomes IO1
Box 3 becomes IO2

This makes it very difficult to edit Image Occlusion cards that have review history. I understand that this may not be addressed until a new Anki version is released - in the meantime, is there a manual way to edit which box corresponds to which IO cloze?

Thank you :slight_smile:

1 Like

@dae I can reproduce this. The code is not maintaining the original order.

That’s no good. :frowning: I’ve logged this on Image occlusions are reordered when modified · Issue #2975 · ankitects/anki · GitHub

2 Likes

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