Updating CSSearchableItemAttributeSet.thumbnailURL does not thumbnail in search results

Originator:vladimir.fleurima
Number:rdar://22745177 Date Originated:17-Sep-2015 04:35 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0
Classification:UI/Usability Reproducible:Always
 
Summary:
Updating .title or .contentDescription causes a change in the displayed search result, but updating .thumbnailURL does not. I used a breakpoint to verify that .thumbnailURL is indeed changing and pointing to a valid file (I can open the file in Preview), but the corresponding search result's thumbnail never changes.

Steps to Reproduce:
1) Create a CSSearchableItemAttributeSet, set its thumbnailURL property to a valid file URL.
2) Create a CSSearchableItem object using the above attribute set.
3) Index the item.
4) Update the attribute set’s thumbailURL to point to another valid file URL.
5) Reindex the item.

Expected Results:
The search result uses an updated thumbnail.

Actual Results:
The search result uses the original thumbnail.

Regression:
Reproducible on iOS 9.0 GM on devices and in simulator.

Notes:
https://forums.developer.apple.com/thread/18428

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!