Re: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-27 Thread Corbin Dunn
On Feb 27, 2015, at 12:14 AM, Arjan van Leeuwen arj...@opera.com wrote: On Thu, Feb 26, 2015 at 2:45 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 25 Feb 2015, at 15:47, Arjan van Leeuwen arj...@opera.com wrote: This method is useful in many situations. If your window has a

Re: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-27 Thread Corbin Dunn
Fullscreen has a lot of assumptions about your window. We have a custom window title bar, yet when we're in fullscreen, the OS draws a fake standard title bar and toolbar for us floating above the window when you show the menu bar. Given you can’t even inhibit that, I'm not surprised that

Re: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-27 Thread Corbin Dunn
On Feb 25, 2015, at 9:40 AM, Lee Ann Rucker lruc...@vmware.com wrote: Great, because that's exactly what I'm using it for The toolbar case or the certain control one? When you're in fullscreen mode, the toolbar isn't actually attached to your window. It's attached to a separate one so

Re: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-27 Thread Arjan van Leeuwen
On Thu, Feb 26, 2015 at 2:45 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 25 Feb 2015, at 15:47, Arjan van Leeuwen arj...@opera.com wrote: This method is useful in many situations. If your window has a toolbar, for example, you can specify a location for the sheet that is just

Re: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-26 Thread Uli Kusterer
On 25 Feb 2015, at 15:47, Arjan van Leeuwen arj...@opera.com wrote: This method is useful in many situations. If your window has a toolbar, for example, you can specify a location for the sheet that is just below it. If you want the sheet associated with a certain control or view, you could

RE: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-25 Thread Lee Ann Rucker
Great, because that's exactly what I'm using it for The toolbar case or the certain control one? When you're in fullscreen mode, the toolbar isn't actually attached to your window. It's attached to a separate one so it can slide down with the menubar. But if it's the control, it wouldn't