ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.68k stars 2.24k forks source link

[BUG]: Toggle Notes + Change the deck of notes, and not only cards + deck name appear as (1) or (2) on desktop's browser when the note's deck is changed on AnkiDroid with Toggle Browser activated #17415

Open Hyoogen-no-Kachi opened 2 days ago

Hyoogen-no-Kachi commented 2 days ago

Checked for duplicates?

Does it also happen in the desktop version?

What are the steps to reproduce this bug?

  1. Create 2 decks, Test 1 and Test 2
  2. Create a cloze note e.g. {{c1::Hello}} {{c2::World}}! in the Test 1 deck
  3. Go to the Card Browser on AnkiDroid, click on the 3 dots, click on Options, and set Toggle Notes
  4. Search for Hello World! on the search bar.
  5. If you notice, when you click in the arrow and change Sort Field to Question, only one card will appear. Now click on the note/card and change the deck from Test 1 to Test 2.
  6. Now, if you go back to the main screen or you go back to the Card Browser and set Toggle Cards again, you’ll see that only one card changed deck.

Expected behaviour

  1. I expected to change all cards of the notes of its original deck at once
  2. I expected that the decks name of the cards on the browser desktop would be the name I setted, and not (1) or (2)

Debug info

AnkiDroid Version = 2.18.4 (f867da96b8304edaebd0361326316bc7514f8cde)

Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)

Android Version = 13 (SDK 33)

ProductFlavor = play

Manufacturer = samsung

Model = SM-A226BR

Hardware = mt6833

Webview User Agent = Mozilla/5.0 (Linux; Android 13; SM-A226BR Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.86 Mobile Safari/537.36

ACRA UUID = d549ca88-5110-4f4d-9b75-1f1552dc6095

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

Reported here https://forums.ankiweb.net/t/bug-report-notes-arent-in-the-deck-where-they-supposed-to-be/51355/6

In it there is more context

Research

welcome[bot] commented 2 days ago

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

david-allison commented 2 days ago

Thanks for the report! Could you check with 2.19, as that includes a number of bugfixes

Hyoogen-no-Kachi commented 2 days ago

I just checked some old issues and these ones are similar:

  1. https://github.com/ankidroid/Anki-Android/issues/14857
  2. https://github.com/ankidroid/Anki-Android/issues/15444

But they are before the june update of AnkiDroid and the problem is the issue I mentioned is still going on:

I know I can just use Toggle Cards instead, but I wanted to help by reporting this unexpected issue

david-allison commented 2 days ago

Can you confirm that the bug still exists in the 2.19.1 release?

Hyoogen-no-Kachi commented 2 days ago

@david-allison I just downloaded the 2.19.1 and did the same steps, and yes, both issues still are in it Image Image

david-allison commented 19 hours ago

Can't reproduce. Could you provide a sample video using AnkiDroid 2.19.1 Parallel.A:

https://github.com/ankidroid/Anki-Android/releases/download/v2.19.1/AnkiDroid-2.19.1.parallel.A.apk