Bug: Emoji keyboard overrides decimal or number pad keyboards

Originator:pburleson
Number:rdar://11777729 Date Originated:29-Jun-2012 11:17 AM
Status:Open Resolved:
Product:iPhone SDK Product Version:4.3.3 (4E3002)
Classification:Serious Bug Reproducible:Always
 
Summary:

If the user last used the Emoji keyboard and a UITextField with keyboardType set to either UIKeyboardTypeNumberPad or UIKeyboardTypeDecimalPad, the Emoji keyboard will be displayed until the user taps the world icon, at which point the keyboard displayed will change to the one for the keyboardType set.

Steps to Reproduce:

1. Create a UITextField and set the keyboardType to either UIKeyboardTypeNumberPad or UIKeyboardTypeDecimalPad. 

2. On device, in a normal text field (I use the search bar on the iPhone search screen), switch the keyboard to the Emoji keyboard

3. Run the app and make the UITextField active. 

Expected Results:

1. The requested numeric keypad would be displayed

Actual Results:

1. The Emoji keyboard is displayed

Regression:

Unknown

Notes: 

This appears to be the only international keyboard this happens with. I've tested coming from the Arabic, Japanese, and Chinese keyboards and everything works as I would expect. 

This also is only testable on device as the simulator doesn't allow for multiple keyboards.

I've provided a sample project that can be run on a device to test this. Interestingly, before changing keyboards, you can run it and leave one of the text fields active showing the correct keyboard. Hitting the home button, going to the search screen and switching to the Emoji keyboard, then double-tapping the home button and selecting the test app, when you get back you can see the number pad type keyboard switch to the Emoji one. Again, this does not occur with any other international keyboard type.

Comments

Sample Project

The sample project can be downloaded here: http://cl.ly/2z2b0e0u2p0l0W1U0o1l


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!