Word suggestions are in all lowercase when a word begins with Á, Í, Ó, Ú.
Possibly related bugs: https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1332 https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1345
Steps to reproduce:
This is easier to test when setting the ASK not to use the next word to make suggestions, and not to automatically learn new words. It behaves more unpredictably if these settings are set otherwise. My current settings use the Android in-built dictionary. I couldn't find an option to change this.
Expected behaviour:
The suggestion bar normally displays words in the same capitalization that the word you're typing. If Caps lock is enabled, it shows them in all caps. If you capitalize only the first letter (automatically or manualy), it shows them in titlecase (first letter uppercase, rest of them in lowercase). Otherwise, it shows them in all lowercase except for proper nouns.
Actual behaviour:
The expected behaviour is found when typing a word beginning with a letter in the English alphabet with no diacritics (abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ)
But in Spanish, when you're typing a word in titlecase and the first character is a vowel with an acute accent (Á, É, Í, Ó, Ú), the suggestions are all in lowercase. This happens, for example, when typing Águi (it displays “águila”, “águilas” and “aguijón”, all lowercase), or Ól (“olor”, “ola”, “óleo”).
Apparently this bug triggers only when there are words in the dictionary beginning with that character. If there isn't any word in the dictionary beginning with that character, suggestions are correctly capitalised: Àg (notice the grave accent instead of the acute accent: the tick has a different direction) displays “Águila”, “Águilas” and “Aguijón”; and Òl, “Olor”, “Ola” and “Óleo”.
You could also try typing “Ínclito” or “Último”, and eventually it will predict them in all lowercase.
There is an odd exception: suggestions are correctly capitalized when beginning a word with Ñ, even where there are at least two words beginning with that letter in the dictionary (ñandú, ñandúes), leading me to think there is another bug related to that letter. They aren't very common words and the suggestion bar doesn't display them until I type ñand, which may or may not be an error in the heuristics. (The heuristics don't count diacritics at all, which is an error, but letters Ñ and P are very close in the keyboard.)
Android OS version: Android 4.4.4 Kitkat
Device manufacturer and model: Vodafone Smart 4 Turbo (rebranding of a Qualcomm/Yulong chinese model)
List of installed add-ons (like languages, or themes): AnySoftKeyboard 1.9.1944 (Beta from Google Play), and Spanish 2.1.1 for AnySoftKeyboard (also from Google Play)
Oh wow, this is a detailed bug reported and seems to be a tricky problem to me. @menny do you have any idea how to debug this? Seems to me there should be some kind of mapping between "blank" and diacritical letters?