On Thu, May 7, 2009 at 9:49 AM, Mark Mentovai <[email protected]> wrote:
> multisheet > disables x and - (there is no +, but I assume it'd be disabled too). > It shouldn't disable - and +. > I don't think I have control over that. I don't think that Cocoa's support for child windows putting up sheets is quite complete. > > ab-modality in > the face of a closing window seems like it needs some careful thought > and planning. > I added methods to the controller to get the views with tabs and am recommending that any users of the class disallow closing of the window while tabs are up. > (Maybe the right thing to > do, in this case and the window-close case, is to switch to the tab > with the sheet? What if there are multiple sheets open?) If there are multiple sheets open, then it's the job of the app logic to decide what to do. In the simple case that I include, if the current tab has a sheet I leave it up, otherwise I switch to the first tab that has a sheet. The quit case is a little bit nastier. The problem is that when you have a hidden sheet up, -applicationShouldTerminate actually *doesn't get called!*I'm still trying to figure this one out. I think that the tab > control should not be greyed out at all, since it is directly usable. > That's a few hours of futzing with focus issues. For our use cases, is it worth it? After all, we're likely to be using it in cases where we control the drawing of the controls. Punting for now. > Hit "login", then play with Exposé. The "show me my desktop" function > leaves the sheet hanging; the "show me my app's windows" and "show me > all windows" functions send the sheet offscreen. > You forgot to note that if the sheet is hidden and you do a "show app windows" or "show all windows" the fact that I hide the window off-screen wrecks everyone's position. I'm going to have to wrestle with Exposé for that. There's no API to make a window hide from Exposé in Leopard or below and the SPIs I've tried aren't working. I'm going to play with Sno... um, a beta OS to see what I find. Visually, Cocoa sheets have a bit of a shadow at the top, making it > look like they've slid out from the parent window. The multisheet > looks like it slides out of thin air and then just hangs there. > I remember reading that it's a window that does that. I can't convince Cocoa to do that. Visual; punting. Avi --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
