Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Changing note type while creating a new card deletes the current content of the fields #17476

Open
3 of 4 tasks
natema opened this issue Nov 22, 2024 · 7 comments
Open
3 of 4 tasks
Labels
Bug Needs Triage Note Editor Addition, editing & note type changes

Comments

@natema
Copy link

natema commented Nov 22, 2024

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?

  • Create a new card
  • Write something in the card field (e.g. Front in the Basic type)
  • Change the note type (e.g. Basic -> Cloze)

Expected behaviour

The current content of the fields is kept as the input of the fields of the new type, as in the Desktop version.
For example, if the current situation is

Type: Basic
Front: Test Front
Back: Test Back

and the type is changed to Cloze in the Desktop version, then the window shows

Type: Cloze
Text: Test Front
Back Extra: Test Back

while if the type is changed to Cloze in the Android version, then the window shows

Type: Cloze
Text: 
Back Extra: 

Debug info

AnkiDroid Version = 2.19.2 (b073f52783583fd4fd1436d986090ced9006a66b)

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

Android Version = 13 (SDK 33)

ProductFlavor = play

Manufacturer = samsung

Model = SM-T976B

Hardware = qcom

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

ACRA UUID = d3f4901a-c6f6-453e-9e92-03961a0d8f39

FSRS = 0.6.4 (Enabled: false)

Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

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)
@MritunjayTiwari14
Copy link

Can i work on this Issue?

@KaranJoshi1208
Copy link

KaranJoshi1208 commented Nov 26, 2024

Hello , can I work on this bug ?

@natema
Copy link
Author

natema commented Nov 26, 2024

I'm just a user, I don't have any authority in this project.

@david-allison david-allison added the Note Editor Addition, editing & note type changes label Nov 26, 2024
@david-allison
Copy link
Member

david-allison commented Dec 8, 2024

@natema Was this an issue in previous versions of AnkiDroid?

@natema
Copy link
Author

natema commented Dec 9, 2024

@natema Was this an issue in previous versions of AnkiDroid?

@david-allison I have a vague memory of seeing it in the past. I should be able to test some old versions next week to confirm.

@david-allison
Copy link
Member

This may want to be fixed forward with a screen to change the note type. It shouldn't have been living directly in the Note Editor

@david-allison
Copy link
Member

Old parallel versions can be found here BTW: https://github.com/ankidroid/Anki-Android/releases/tag/v2.18.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Note Editor Addition, editing & note type changes
Projects
None yet
Development

No branches or pull requests

4 participants