Note table cell deselects on iPad when rotating to landscape

Originator:indiekiduk
Number:rdar://42894148 Date Originated:3/8/18
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 12 beta 5 build 16A5339e
Classification:Other bug Reproducible:Always
 
Area:
Notes

Summary:
There is a certain order of actions that can render a note not selected in the table view when in landscape on iPad when the note should always show it is selected with a yellow highlight.

Steps to Reproduce:
In Notes in landscape, select a note so it is highlighted yellow in the table on left on split view and note is showing on right side of split view. Rotate to Portrait. Tap back button. Rotate to Landscape.

Expected Results:
Note should be selected in table in left side of split view.

Actual Results:
Note is not selected in table (no longer highlighted yellow)

Tapping edit and then edit again causes note to correctly show selected.

How to fix:
ICNotesListViewController should observe UIViewControllerShowDetailTargetDidChangeNotification and call [self updateSelectionInTableViewAnimated:YES];

Version/Build:
iOS 12 beta 5 build 16A5339e
iOS 11.3

Configuration:
iPad Pro 10"

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!