Keyboard is sometimes incorrectly automatically dismissed when switching between apps on iOS 9

Originator:avedesk
Number:rdar://23642189 Date Originated:21-Nov-2015 09:17 PM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 9.1
Classification:Serious Bug Reproducible:Always
 
Summary:
Since iOS 9.1, the keyboard is sometimes incorrectly automatically dismissed when switching between two apps that have the keyboard open, leaving one app in a confused - no-keyboard state often.

Steps to Reproduce:
1. Open Calendar.app
2. Tap on '+' to open the 'New event' screen
3. focus the 'Title' field and see the keyboard show up
4. go back to the homescreen
5. Open Contacts.app
6. Tap on '+' to open the 'New Contact' screen
7. focus the 'Name' field and see the keyboard show up
8. Double-tap the home button to go into the multitasking launcher
9. See that both apps show the keyboard in their preview
10. switch back to Calendar.app

Expected Results:
- Calendar.app would still have the keyboard visible, with the title field as first responder

Actual Results:
- Calendar.app no longer has the keyboard visible and the title field does not show a cursor

Regression:
This didn’t happen in iOS8. It also doesn’t happen when switching between one app with the keyboard open and another app with no keyboard visible and back. The keyboard stays up in the first app in that case.

Notes:
- Calling becomeFirstResponder in applicationDidBecomeActive: does not seem to help neither.

Comments


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!