Text Input Assistant Item: Irresponsive button items with external keyboard

Originator:maxseelemann
Number:rdar://25825562 Date Originated:16-04-20
Status:Open Resolved:
Product:iOS Product Version:9.x.x
Classification:Serious Issue Reproducible:Always
 
Summary:
The bar buttons items of a UITextInputAssistantItem are not responding to tap events under some circumstances.

Steps to Reproduce:
- Run the attached sample app in an iPad Simulator
- Enable the "Pinyin" Simplified Chinese keyboard
- Ensure "Shortcuts" and "Predictive" are enabled from the Input Source switcher button
- Start editing text, select some text
- Observe how the (visible) button items on the right can be used: "a", "b", "c", "d", "e".
- Attach the virtual external keyboard.

Expected Results:
All visible button items continue to be usable

Actual Results:
- Button items "a", "b", "c", "d" cannot be used
- Only "e" and "f" receive touch events.

Version:
iOS 9

Notes:
Hiding the app and activating it again (causes a keyboard refresh) fixes the issue.

My guess is that the predictive row's tap region is not correctly reset when attaching an external keyboard.

Configuration:
iPad

Attachments:
'textedit v4.zip' was successfully uploaded. http://cl.ly/fk1C

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!