Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

After canceling media sync, "Media sync complete." is often shown instead of "Media sync aborted"

Open snowtimeglass opened this issue 1 year ago • 6 comments

Checked for duplicates?

  • [X] This issue is not a duplicate

Does it also happen in the desktop version?

  • [X] This bug does not occur in the latest version of Anki

What are the steps to reproduce this bug?

Tap "Cancel" in "Media Sync Log" dialog box

Expected behaviour

"Media sync aborted." snackbar is always shown.

(as it is always so in Anki Desktop) image

Actual behaviour

"Media sync aborted." snackbar is not always shown. Instead, "Media sync complete." snackbar is often shown.

https://github.com/ankidroid/Anki-Android/assets/10436072/afe2c3b4-8d7c-4a02-8712-a1c8b5cfa0e0

Debug info

AnkiDroid Version = 2.19alpha6 (d2ddaaf122f6d03501bfec0adb88f510d93499f0)

Backend Version = 0.1.39-anki24.06.2 (24.06.2 9b4dd54312de8798a3f2bee07892bb3a488d1f9b)

Android Version = 11 (SDK 30)

ProductFlavor = full

Manufacturer = OPPO

Model = CPH2013

Hardware = qcom

Webview User Agent = Mozilla/5.0 (Linux; Android 11; CPH2013 Build/RKQ1.200903.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/125.0.6422.165 Mobile Safari/537.36

ACRA UUID = 5e59349c-ede4-4942-91b7-199dcf1342c0

FSRS Enabled = true


Crash Reports Enabled = true

(Optional) Anything else you want to share?

  • "Check database" and "Check media" were done beforehand.

  • It may be better to replace "Cancel" in "Media Sync Log" with "Abort", which is used in Anki Desktop. image

  • Sometimes the "Media Sync Log" doesn't seem to be shown properly: (From 00:20 in the video above)

Research

  • [X] I am reporting a bug specific to AnkiDroid (Android app)
  • [X] I have checked the manual and the FAQ and could not find a solution to my issue
  • [X] I have confirmed the issue is not resolved in the latest alpha release (instructions)

snowtimeglass avatar Jun 21 '24 08:06 snowtimeglass

I am working on this issue

vyom198 avatar Aug 05 '24 16:08 vyom198

May I work on this issue ?

asp616848 avatar Aug 07 '24 05:08 asp616848

Give @vyom198 some time, it's been two days

david-allison avatar Aug 07 '24 10:08 david-allison

May I work on this issue ?

hey i have tried , you can work on this now

vyom198 avatar Aug 11 '24 17:08 vyom198

@asp616848 all yours!

david-allison avatar Aug 11 '24 19:08 david-allison

@vyom198 feel free to come to Discord and ask next time! It's not in our best interests if you're stuck on something

david-allison avatar Aug 11 '24 19:08 david-allison