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

Typing text with successive uppercase characters #222

Open
ondrejhanslik opened this issue Jun 4, 2013 · 4 comments
Open

Typing text with successive uppercase characters #222

ondrejhanslik opened this issue Jun 4, 2013 · 4 comments
Labels

Comments

@ondrejhanslik
Copy link
Contributor

I have a UITextView with UITextAutocapitalizationTypeSentences
I am trying to type text ABC.

Normally it works but sometimes I get AbC or ABc instead. I guess there is a collision when the text view sets the keyboard to lowercase but KIF typer still sees it as uppercase.

@ondrejhanslik
Copy link
Contributor Author

I have tried several workarounds - I tried to split the text by [A-Z] and then entered every sequence separately, inserting long delays. That doesn't work. Sometimes the uppercase letter is not typed at all. I guess the problem lies in the small delay between tapping "shift" and tapping the letter key. 0.05 delay is long enough for letters on the same keyplane but it's not enough for changing keyplanes.

@ondrejhanslik
Copy link
Contributor Author

Now with iOS 7:

Keyboard typing attempt n. 1 (written text: "4qyaQp0a", expected: "CR16-100A")
Keyboard typing attempt n. 2 (written text: ".Rq6-100", expected: "CR16-100A")
Keyboard typing attempt n. 3 (written text: ".CR16-100A", expected: "CR16-100A")
Keyboard typing attempt n. 4 (written text: "crq6-100a", expected: "CR16-100A")

Not seeing the same problem on my local computer, only in jenkins builds - the animations probably take a bit longer there.

@dgmora
Copy link

dgmora commented Apr 22, 2014

@ondrejhanslik Could you find a workaround for this? So far I wasn't able to find something reliable

@ondrejhanslik
Copy link
Contributor Author

No, it must be fixed in frank core - increasing the delay after a keyplane switch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants