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

Keyboard should pop up for type-answer fields

Open hssm opened this issue 11 years ago • 25 comments

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

hssm avatar Jul 28 '15 11:07 hssm

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

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

  • Status changed: Done

hssm avatar Jul 28 '15 11:07 hssm

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

hssm avatar Jul 28 '15 11:07 hssm

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

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

hssm avatar Jul 28 '15 11:07 hssm

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

hssm avatar Jul 28 '15 11:07 hssm

Issue 2291 has been merged into this issue.

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

hssm avatar Jul 28 '15 11:07 hssm

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

hssm avatar Jul 28 '15 11:07 hssm

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

github-actions[bot] avatar Jun 03 '20 16:06 github-actions[bot]

Good first issue, let's keep it open

david-allison avatar Jun 03 '20 16:06 david-allison

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

github-actions[bot] avatar Aug 02 '20 17:08 github-actions[bot]

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

adamwolf avatar Oct 30 '20 13:10 adamwolf

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)

mikehardy avatar Oct 30 '20 13:10 mikehardy

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)

cjbell630 avatar Nov 21 '20 01:11 cjbell630

Is this issue still open? I would like to work on it.

musiqualGeek avatar Mar 15 '21 16:03 musiqualGeek

Hello Sir @david-allison-1 can I work on this issue?

tanmayChakrawarty avatar Mar 15 '21 16:03 tanmayChakrawarty

It appears to have no activity since November so I believe it is fine to work on. @musiqualGeek asked first, so if they are still interested, they should have priority, else @tanmayChakrawarty sure

mikehardy avatar Mar 15 '21 19:03 mikehardy

It appears to have no activity since November so I believe it is fine to work on. @musiqualGeek asked first, so if they are still interested, they should have priority, else @tanmayChakrawarty sure

I'll take it. Please assign me this.

musiqualGeek avatar Mar 16 '21 08:03 musiqualGeek

I would like to work on this issue

shankarpriyank avatar Sep 07 '21 15:09 shankarpriyank

Same as previous statement from me - doesn't appear to be active by anyone at the moment, so have a go @shankarpriyank ! Thanks

mikehardy avatar Sep 07 '21 15:09 mikehardy

We have a "focus type in answer" setting in the advanced preferences. Is this issue still active given this?

david-allison avatar Sep 08 '21 13:09 david-allison

Hey actually I am new to open source world so I am having a hard time figuring out the problem and the solution of this issue But I noticed something which can be enhanced by in the app Whenever we click on creating new deck option a small dialog box appears which tells us to type in the name of the deck and has two options cancel and ok But even when then name field is blank the ok button works and just closes the dialog box, I think we should add a check to it and if the name field is empty the ok button should be kind of disabled..

And I picked this issue #3482 because it had a tag good first issue and I in excitement just commented here, but I have still not figured out where the issue is in the app

shankarpriyank avatar Sep 08 '21 14:09 shankarpriyank