ankidroid / Anki-Android

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

[BUG]: Cannot Return to Edit/Add Screen from Template Editor #16955

Closed brishtibheja closed 2 months ago

brishtibheja commented 2 months ago

Checked for duplicates?

Does it also happen in the desktop version?

What are the steps to reproduce this bug?

Expected behaviour

Edit/Add screen reopens.

Actual behaviour

Cannot return to the previous screen. I'm able to use the ← Navigate up button. Gestures and keyboard presses are not working.

Debug info

AnkiDroid Version = 2.19alpha12 (f720ae030b8920c73f957d64d7044e95242f7719)

Backend Version = 0.1.40-anki24.06.3 (24.06.3 d678e39350a2d243242a69f4e22f5192b04398f2)

Android Version = 11 (SDK 30)

ProductFlavor = full

Manufacturer = realme

Model = RMX2193

Hardware = mt6768

Webview User Agent = Mozilla/5.0 (Linux; Android 11; RMX2193 Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/127.0.6533.103 Mobile Safari/537.36

ACRA UUID = cf265e01-9693-407f-984d-61ddf9698fac

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

Research

user1823 commented 2 months ago

Can reproduce in beta 1 too.

The Android back button doesn't work, though the ← button at the top left works.

david-allison commented 2 months ago

@SanjaySargam FYI

SanjaySargam commented 2 months ago

working on it

SanjaySargam commented 2 months ago

introduced this bug due to https://github.com/ankidroid/Anki-Android/commit/87e2a79b676c6309496317141340d6db52e82fa5