Toggling secureTextEntry on a textField with custom font has incorrect behaviour

Originator:sebskuse
Number:rdar://20345712 Date Originated:30-Mar-2015 04:10 PM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8.2+
Classification:UI Reproducible:Always
 
Summary:
Toggling the secureTextEntry property for a UITextField on and off changes all but the last character's font to a system default

Steps to Reproduce:
1. Open up sample project
2. Type a password into the secure password field
3. Toggle the switch while there is a character still readable in the secure field

Expected Results:
The password field should display all of the text entered into it in the font that the textField was configured with.

Actual Results:
The last character in the text field shows the correct font, the others show a default system font.

Version:
iOS 8.2 and above

Notes:


Configuration:
Any iOS device

Attachments:
http://cl.ly/2B3X171v1m3c

Comments

This also drives me crazy!


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!