NSWindow custom full-screen API isn't sufficient

Originator:me
Number:rdar://12261716 Date Originated:08-Sep-2012 04:06 PM
Status:Open Resolved:
Product:Mac OS X Product Version:10.8.2 (12C31a)
Classification:UI/Usability Reproducible:Not Applicable
 
08-Sep-2012 04:06 PM Jonathon Mah:
I explored the custom full-screen API on NSWindow (and NSWindowDelegate) recently, and found it woefully lacking. Initially, I simply wanted to make the window animate to its target frame, instead of cross-fading. However, I found no API or documentation about how to actually get the full-screen frame of the window!

Implementing -window:willUseFullScreenContentSize:, I found it was never called for any windows I returned from -customWindowsToEnterFullScreenForWindow:. Even so, that only provides the size, and not the frame (accounting for multiple displays, avoiding the full-screen toolbar, etc.).

In other words, the current API allows applications to REPLACE the full-screen behavior, but doesn't provide the necessary information to customize it.

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!