Photos 1.1: No UI scripting possible when in full screen mode

Originator:iospiritongt
Number:rdar://21811397 Date Originated:14-Jul-2015 12:21 PM
Status:Open Resolved:
Product:iLife Product Version:Photos 1.1 (300.32.0)
Classification:Serious Bug Reproducible:Always
 
Summary:
When the Photos library window has been expanded to full screen mode, its window is no longer visible to UI scripting.

Steps to Reproduce:
1. Expand Photos library window to full screen mode.
2. Run this script in Script Editor:
tell application "System Events"
	tell process "Photos"
		windows
	end tell
end tell

Expected Results:
I'd expect Script Editor to show this as a result:
{window 1 of application process "Photos" of application "System Events"}

Actual Results:
Instead, Script Editor show this as a result:
{}

Regression:
This always occurs.

Notes:
This issue makes it impossible for third party apps to trigger actions in Photos that are only exposed via the UI, but not via the AppleScript dictionary.

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!