Mail in OS X 11 does not like having visible set to false and then true

Originator:peter
Number:rdar://23290906 Date Originated:28-Oct-2015 02:25 PM
Status:Open Resolved:
Product:Mail Product Version:9.1 (OS X 10.11.1)
Classification:UI/Usability Reproducible:Always
 
Summary:
If you create a new outgoing message via AppleScript in OS X 10.11's Mail, and then set the visibility to false and then true, the message flashes on the screen and then disappears.

Steps to Reproduce:
tell application "Mail"
	set newMessage to make new outgoing message
	tell newMessage
		set visible to false
		set visible to true
	end tell
	activate
end tell


Expected Results:
The message should appear since visible is set to false at the end.

Actual Results:
Message appears and then disappears.

Version:
Version 9.1 (3096.5), OS X 10.11.1 (15B42)

Notes:


Configuration:


Attachments:

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!