On 3 Dec 2013, at 6:52 pm, Kyle Sluder <[email protected]> wrote:

> From the 10.8 AppKit release notes:
> 
>> A window delegate may also specify that the window toolbar be removed from 
>> the window in fullscreen and auto-shown with the menubar by including 
>> NSApplicationPresentationAutoHideToolbar in the presentationOptions returned 
>> from -window:willUseFullScreenPresentationOptions:.
> 
> Maybe the default options changed in 10.9.

Well, this behaves a bit oddly.

If I set this flag, then the toolbar becomes attached to the menubar, as 
advertised, and shows and hides with it, as advertised. Seemingly as it goes 
into fullscreen mode, the toolbar becomes visible as it attaches to the 
menubar, then animates away again as the menubar is hidden.

If I don’t set this flag (i.e. the default), then it seems to start to go 
through the motions of showing the toolbar prior to detaching it, but then not 
detaching it, and so leaving it visible.

It looks like it could be a bug to me - attaching to the menubar became the 
focus of the code change, and it broke the normal behaviour. It’s no biggie, 
setting the flag gives a reasonable outcome for my app, but it would be nice if 
the standard behaviour worked as expected. Radar time again…

—Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to