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

No system keyboard when focusing on <input> text box in card view

Open mobd opened this issue 9 months ago • 7 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 Desktop

What are the steps to reproduce this bug?

Add <input type="text" /> to a card. Review a card and focus the input box. Try to type something. Note: when previewing the template it works as expected, only when reviewing a card does the keyboard not show up.

Expected behaviour

I should be able to type input into the input box in the card.

Debug info

AnkiDroid Version = 2.21alpha11 (b0d7b48431676f1ee721b4cae16065d50af0425a)
Backend Version = 0.1.49-anki25.01rc1 (25.01rc1 b65fa693dacbd92c0bdd2a8c3800d0827432d108)
Android Version = 15 (SDK 35)
ProductFlavor = full
Device Info = Xiaomi | Xiaomi | aurora | aurorapro | 24031PN0DC | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 15; 24031PN0DC Build/AQ3A.240627.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/133.0.6943.121 Mobile Safari/537.36
ACRA UUID = 9b88fb3d-e6d1-4f1f-aa18-61e0befcc8fb
FSRS = 2.0.2 (Enabled: false)
Crash Reports Enabled = true

(Optional) Anything else you want to share?

Copied from #14546. The merged fix seems to be reverted, I don't know if there's a reason for it.

Research

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

mobd avatar Mar 05 '25 23:03 mobd

The relevant commit is 44a1977 I think.

mobd avatar Mar 06 '25 00:03 mobd

Hi, could I take on this issue? Is there any context I would need going forward?

krishpdev avatar Mar 10 '25 14:03 krishpdev

Some discussion in the PR #15576, maybe one of the participants there knows more.

mobd avatar Mar 10 '25 20:03 mobd

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Jun 08 '25 20:06 github-actions[bot]

There is a workaround by enabling "Type answer into the card" in the settings. However, I don't think the current behaviour with default settings is expected, so I think the issue should stay open

mobd avatar Jun 11 '25 02:06 mobd

@mobd

Could you install: https://github.com/ankidroid/Anki-Android/releases/download/v2.21alpha17/AnkiDroid-2.21alpha17.parallel.A.apk

  • Settings - About AnkiDroid - Tap the AnkiDroid logo 7 times
  • Developer options - enable "new reviewer"
  • Is this still a problem?

You may uninstall this parallel app after you're done testing, 2.21 will be released soon

david-allison avatar Jun 11 '25 04:06 david-allison

With the new reviewer this issue does not occur. There are some other weird issues but I guess I'll wait until the new reviewer is released. Thanks for your reply!

mobd avatar Jun 11 '25 14:06 mobd

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Sep 09 '25 14:09 github-actions[bot]