Re: A trap with full screen in Lion

2011-07-29 Thread Gideon King
Thanks for that suggestion Martin - I hadn't thought of looking at parent window. I kind of think that is an implementation detail behind the scenes that we shouldn't have to worry about in our code, so will file a bug report about it as Corbin suggested, and hopefully it will either be made to

Re: A trap with full screen in Lion

2011-07-29 Thread Martin Wierschin
> I just came across a bit of an issue with the full screen mode in Lion: if > you have a view and use [[self window] windowController] to get at your > window controller, it will return nil in full screen mode. The window gets > swapped out with an NSToolbarFullScreenWindow, which doesn't have

Re: A trap with full screen in Lion

2011-07-29 Thread Corbin Dunn
Please log this as a bug. Ideally, include steps to reproduce and/or a sample application. thanks! corbin On Jul 28, 2011, at 7:38 PM, Gideon King wrote: > I just came across a bit of an issue with the full screen mode in Lion: if > you have a view and use [[self window] windowController] to

Re: A trap with full screen in Lion

2011-07-29 Thread Lee Ann Rucker
On Jul 29, 2011, at 10:14 AM, Kyle Sluder wrote: > On Fri, Jul 29, 2011 at 9:56 AM, vincent habchi wrote: >> The toolbar is supposed to disappear in full screen mode, no? > > No. > > It hangs out at the top of the screen and slides down out of the way > of the menu bar when you move your mouse

Re: A trap with full screen in Lion

2011-07-29 Thread Kyle Sluder
On Fri, Jul 29, 2011 at 9:56 AM, vincent habchi wrote: > The toolbar is supposed to disappear in full screen mode, no? No. It hangs out at the top of the screen and slides down out of the way of the menu bar when you move your mouse up to the top edge. This is why it needs to move into its own

Re: A trap with full screen in Lion

2011-07-29 Thread vincent habchi
Le 29 juil. 2011 à 04:50, Gideon King a écrit : > Sorry - missed an important bit of info - this applies for a view that is in > the toolbar. So far as I am aware, it The toolbar is supposed to disappear in full screen mode, no? V. ___ Cocoa-dev ma

Re: A trap with full screen in Lion

2011-07-28 Thread Gideon King
Sorry - missed an important bit of info - this applies for a view that is in the toolbar. So far as I am aware, it doesn't apply to views in your main window (at least my views in my main window still appear to always return the right thing). On 29/07/2011, at 12:38 PM, Gideon King wrote: > I j

A trap with full screen in Lion

2011-07-28 Thread Gideon King
I just came across a bit of an issue with the full screen mode in Lion: if you have a view and use [[self window] windowController] to get at your window controller, it will return nil in full screen mode. The window gets swapped out with an NSToolbarFullScreenWindow, which doesn't have a window