Native iOS Mail TableView shows duplicate message

Originator:loyaltyarm
Number:rdar://16133653 Date Originated:2/21/2014
Status:Duplicate/14287944 Resolved:
Product:iOS 7 Product Version:7.0.4
Classification: Reproducible:Yes
 
Summary:
Native iOS mail app configured for use with gmail account. No other accounts configured. When viewing messages in the native iOS mail app, as messages are deleted, and the message detail view is accessed, the native iOS mail app is showing the same message twice when returning to the Inbox UITableview.

Steps to Reproduce:
1. Configure gmail account for usage with native mail app.
2. Using single inbox, not unified (no other accounts configured).
3. Launch native mail app to view messages, presented with normal-functioning tableview.
4. Select top-most message and move to detail view. 
5. Delete 2-3 messages from the detail view.
6. Return to the Inbox tableview.
7. The 4th and 5th (i use smaller text in my UI, messages residing just behind the bottom bar during details view deletion) is shown as a duplicate in the tableview, and appears as a duplicate tableviewcell. 

Expected Results:
Expected results is that the Inbox UITableview shows one unique message per UITableViewCell.

Actual Results:
The 4th and 5th (i use smaller text in my UI) is shown as a duplicate in the tableview, and appears as a duplicate tableviewcell (see screenshot attached, some names have been removed to protect the innocent).

Version:
iOS 7, 7.0.1, 7.0.2, 7.0.3, 7.0.4

Notes:
Does not seem like a sync issue, seems like an issue where the tableview viewdidappear/load (ie., method being used) is not caught up to the data stored for available messages in the account after the deletion occurs. Workaround is to exit the inbox tableview and go back to the static tableview mail homescreen, and then re-enter the inbox. Also, you can move the native iOS mail app to the background, switch to another application, and come back and the tableview is reloaded and displays properly.

Configuration:
Did not occur prior to iOS 7.

Attachments:
'mail_bug', 'photo.PNG' and 'Message.zip' were successfully uploaded.

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!