[[nswindow animator] center] should animate

Originator:ewmailing
Number:rdar://12127130 Date Originated:2012-08-17
Status:Open Resolved:
Product:Mac OS X Product Version:10.8
Classification:Enhancement Reproducible:Always
 
17-Aug-2012 05:49 PM Eric Wing:
Summary:
I want to use the center method on NSWindow to center my window. (I use a menu option so the user may recenter the window.) It would be nice if it could be animated to move to the center if I use the animator. But this currently has no effect and the window immediately jumps to the center.




Steps to Reproduce:

With a simple program that has a pointer to the window, do:

[[window animator] center];


Expected Results:
Window should animate to the center.

Actual Results:
Window instantly goes to the center.

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!