Photos behaves erratically when importing photos from iOS that were duplicated and modified

Originator:robotspacer
Number:rdar://34008246 Date Originated:19-Oct-2016 01:00 AM
Status:Open Resolved:
Product:macOS + SDK Product Version:macOS 10.12.6 and 10.13 Beta (17A352a)
Classification:Serious Bug Reproducible:Always
 
Area:
Photos

Summary:
I was importing a large number of photos from the past year, and noticed some photos marked as "already imported" did not seem to be imported at all. In every case they were photos I had duplicated, cropped, and applied filters to. I was able to find the original versions of these photos in my library, but not the modified duplicates.

In trying to recreate the problem, found that I get one of two results: either the modified duplicate gets imported to Photos without any edits applied, or photos applies the edits to both versions of the photo.

Steps to Reproduce:
1. On an iPhone with iOS 10.3.3, take a photo using the Camera app. (Note: I recommend taking a Live Photo)
2. Open Photos and select the photo.
3. Tap the action button and then Duplicate. (Note: if you choose the "Duplicate as Still Photo" option here it will be easier to tell the two apart later.)
4. Swipe over to the duplicate photo.
5. Tap the edit button. Crop the photo to square and apply a filter.
6. On a Mac, open the Photos app.
7. Connect your iPhone to the Mac.
8. Select Import > iPhone in the sidebar. (Note that the thumbnails both display as unedited.)
9. Click "Import All New Photos".

Expected Results:
Two different photos should be imported: an unmodified original (live photo) and the modified duplicate (still photo).

Observed Results:
I've gotten either of these two results:
1. The edits made to the duplicate have been applied to both copies of the photo. The live photo should be an unmodified original, but it is cropped and filtered. This is the more common result in my testing.
2. Sometimes I end up with two copies of the original.

Version:
I've recreated this issue on macOS 10.12.6 (16G29) with Photos 2.0 (3161.4.140), as well as the latest developer beta: macOS 10.13 Beta (17A352a) with Photos 3.0 (3201.11.120).

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!