[NSApp currentSystemPresentationOptions] and NSApplicationPresentationFullScreen

Number:rdar://9961012 Date Originated:16-Aug-2011 10:03 PM
Status:Open Resolved:
Product:Mac OS X SDK Product Version:10.7 (11A511)
Classification:Serious bug Reproducible:Always
16-Aug-2011 10:03 PM Ilya Kulakov:
If current active application enters full screen mode, neither currentSystemPresentationOptions KVO notification is posted nor [NSApp currentSystemPresentationOptions] & NSApplicationPresentationFullScreen returns true.

Steps to Reproduce:
Create application that supports Lion's full screen feature
Add observer for NSApplicationPresentationFullScreen to [NSApplication sharedApplication] or just create the repeated timer that asks for [NSApp currentSystemPresentationOptions].

Expected Results:
when current active app becomes full screen, KVO notification is posted and  [NSApp currentSystemPresentationOptions] & NSApplicationPresentationFullScreen returns true.

Actual Results:
Neither of above are happened




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!