kCGWindowWorkspace returns seemingly random numbers

Number:rdar://9241430 Date Originated:06-Apr-2011 06:46 PM
Status:Behaves Correctly Resolved:No
Product:Mac OS X Product Version:10.7
Classification:Other Bug Reproducible:Always

Full screen applications are returning a seemingly random kCGWindowWorkspace value for windows on the full screen workspace.

Steps to Reproduce:

1. Make your app's window full screen using the new Lion NSWindowCollectionBehaviorFullScreenPrimary feature;
2. Try to retrieve the kCGWindowWorkspace value for your window;

Expected Results:

kCGWindowWorkspace is assigned an at least semi reproducible identifier in line with the existing spaces.

Actual Results:

kCGWindowWorkspace is a random number.


Yes, from Mac OS X 10.6 where kCGWindowWorkspace was always consistent.

06-Dec-2011 04:30 AM Apple Developer Bug Reporting Team :
Thank you for filing this bug report.

We are closing this bug since our engineers are aware of the issue and will continue to track it.

Please be sure to regularly check the seed notes and release notes for any updates that might affect this issue.  Again, thank you for taking the time to submit bugs. We sincerely appreciate your input.


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!