Photos 1.1: selection property returns nothing for selected albums

Originator:iospiritongt
Number:rdar://21811155 Date Originated:14-Jul-2015 11:56 AM
Status:Open Resolved:
Product:iLife Product Version:Photos 1.1 (300.32.0)
Classification:Serious Bug Reproducible:Always
 
Summary:
The selection property returns nothing when browsing albums and an album is selected by the user.

Steps to Reproduce:
1. Select an album
2. Run this script in Script Editor:
tell application "Photos"
	selection
end tell

Expected Results:
Script Editor shows a list of the media items contained in the selected album as result.

Actual Results:
Script Editor shows an empty result.

Regression:
The issue always occurs.

Notes:
Since the "start slideshow" command now requires a list of media items, it is currently not possible to mimic the result of the user pressing the "play" button in the Photos toolbar - which, if an entire album is selected - will play that entire album.

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!