Skip to content

(2.23.0alpha6) Changing the deck in the "Deck" field of the Image Occlusion editor doesn't make the new note to be added to the selected deck #19426

@rodrigo-morales-1

Description

@rodrigo-morales-1

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki Desktop

What are the steps to reproduce this bug?

  1. Share an image in File Explorer
  2. Select "Anki", then select "Image Occlusion"
  3. Select a deck while in the Image Occlusion editor
  4. The new note is stored in the last deck that was studied instead of the deck that was selected in the Image Occlusion editor

The two videos below show the described behavior.

In the first video below, I select "my-deck-1" to study. Then, switch to a file explorer and share an image with Anki using the option "Image Occlusion". In the Image Occlusion editor, I add a rectangle and then change the deck to "my-deck-4". Then, I press the check button on the top right corner to create the note. When I go back to the home screen, you can see that the note counter for my-deck-1 increased from 3 to 4. This was because the Image Occlusion note was added to "my-deck-1". Afterwards, I open the "Card browser" to show that the Image Occlusion card was actually added to "my-deck-1".

In the second video below, I followed the same steps, but instead of studying "my-deck-1". I studied "my-deck-3" which caused the card to be added "my-deck-3" instead of "my-deck-4" which was selected in the Image Occlusion editor.

recording_20251105_222010-cut.webm
recording_20251105_222113-cut.webm

Expected behaviour

The new note should be added to the deck that was selected in the deck field of the Image Occlusion editor.

Debug info

AnkiDroid Version = 2.23.0alpha6 (6673f13960a09f168c09bfac24a8b154c27c7882)  
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)  
Android Version = 12 (SDK 31)  
ProductFlavor = full  
Device Info = samsung | samsung | a02q | a02qub | SM-A025M | qcom  
Webview User Agent = Mozilla/5.0 (Linux; Android 12; SM-A025M Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/140.0.7339.207 Mobile Safari/537.36  
ACRA UUID = 92a3c85e-777b-4683-9f59-2ca1928942b2  
FSRS = 5.1.0 (Enabled: false)  
Crash Reports Enabled = true

(Optional) Anything else you want to share?

Selecting a deck in the Image Occlusion editor was added by #19259

Research

  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReproducedThis bug has been reproduced by a maintainer

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions