Anki-android: Keyboard should pop up for type-answer fields

Created on 28 Jul 2015  路  12Comments  路  Source: ankidroid/Anki-Android

Originally reported on Google Code with ID 2586

What steps will reproduce the problem?
1. I open a deck with cloze texts
2. When I come to a new card there's text field where I can insert the missing texts.
The cursor is in this text field automatically.
3. I tap on the text field and the keyboard pops up.
4. I enter the missing word.

What is the expected output? What do you see instead?
The step 4 isn't necessary and annoying because I have to tap into the text field on
every single card you want to learn. This makes me loosing time. The keyboard should
pop up right away when a new card with cloze text is shown.

Does it happen again every time you repeat the steps above? Or did it
happen only one time?
It happens every time.

I saw this problem in other Android apps before, mainly dictionaries. Over the time
all the dictionaries I used have fixed this problem. When the search field is shown
the keyboard pops up automatically. There is no need anymore to tap into the text field.
I would like Ankidroid to behave this way too. 

I don't know whether there are Ankiusers who have very long cloze texts that would
be partly hidden by the keyboard. If this is the case I would be nice to have an option
in the settings where they can change the behavior of the keyboard to the old way so
that the keyboard doesn't pop up automatically. But the automatic pop up of the keyboard
should be the default behaviour.

Reported by edbe.android on 2015-04-19 17:32:37

Accepted Enhancement Good First Issue! Help Wanted Keep Open Priority-Low Reviewer

All 12 comments

https://ankidroid.org/docs/manual.html#typeInAnswer

Reported by perceptualchaos2 on 2015-04-20 04:11:22

  • Status changed: Done
Thanks for taking care of this bug so quickly. I have updated to AnkiDroid 2.4.3 today.
The problem is still there. Could you please have another look at this. Thanks.

Reported by edbe.android on 2015-04-21 14:35:03

It's not a bug, read the link I posted

Reported by perceptualchaos2 on 2015-04-21 14:51:13

I think you misread the original report. The keyboard doesn't automatically appear on
cards with typing fields and there is no way to force it to do so at the moment. Clicking
on the text box to force the keyboard to pop up is an extra step.

Reported by Houssam.Salem.Au on 2015-04-22 01:41:25

  • Status changed: Accepted
  • Labels added: Type-Enhancement, Priority-Low
  • Labels removed: Type-Defect, Priority-Undecided
Issue 2291 has been merged into this issue.

Reported by Houssam.Salem.Au on 2015-04-22 01:42:19

Thanks for the feedback. What Houssam... says is correct. And the merged issue 2291
looks almost the same. But I've never never seen a keyboard showing automatically,
not even on the first card. 

The keyboard that shows automatically is a nice feature and something I've seen in
other apps. If would be nice if it be in Ankidroid sometime in the future. I made a
search and found some discussions about this issue although I have no idea whether
they are helpful for you.

https://developer.android.com/training/keyboard-input/visibility.html
http://stackoverflow.com/questions/5105354/how-to-show-soft-keyboard-when-edittext-is-focused

Reported by edbe.android on 2015-04-22 16:21:13

Hello 馃憢, this issue has been opened for more than 2 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

Good first issue, let's keep it open

Hello 馃憢, this issue has been opened for more than 2 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

Would we want to only auto-open the soft keyboard with type-answer if there isn't a physical keyboard attached?

Hey @adamwolf ! :-)
Seems reasonable to open the keyboard yes, it would be the first thing people want in absence of physical keyboard
I trust your judgement though (in case there is a technical barrier or you try it and it is no good for some reason)

If I may also suggest something: maybe add something for when the whiteboard is enabled (ie. the user is writing on the screen), the keyboard is not automatically toggled. Or maybe an icon towards the top that appears next to the ink icon to toggle pulling up the automatic keyboard. The best way would probably just something so that this can be controlled on a per-session basis :)

(Personally, I switch between writing and typing depending on where I'm studying, so that's why I thought it might be worth mentioning)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Anthropos888 picture Anthropos888  路  5Comments

mikehardy picture mikehardy  路  4Comments

david-allison-1 picture david-allison-1  路  4Comments

sudomain picture sudomain  路  3Comments

kanjieater picture kanjieater  路  4Comments