I'd be worried about flashing/jankiness using a real sheet, but a child window pinned to the top edge of the tab with the right transitions might work nicely. There's also some stuff Jeremy was doing in Gears that involved doing interesting things with login prompts that may (or may not) be relevant. It would certainly be nice to keep things tab-modal, even though Cocoa doesn't really grok that idea.
--Amanda On Tue, May 5, 2009 at 5:40 PM, Avi Drissman <[email protected]> wrote: > Having signed up for the login dialog, I'm seeing that it's a pretty > interesting subject. If you try out a page with HTTP auth, you'll see that > you get what looks like a dialog for the username and password. But if you > click around, you find that you can switch tabs, and that the dialog is > tab-modal. In fact, the UI test has a test (LoginPromptTest.TestTwoAuths) to > make sure that you can have two auths going on at once. > > I was thinking about doing this as a sheet, but that's window-modal and of > less functionality. I can play games with dialogs (making them child windows > and/or hiding/showing along with the tab) but that gets to be less Mac/like. > > As I type this I wonder if we can get a sheet to come down under the tab bar > and hide/show it with the tab. Would that be good UI-wise? > > And of course, I'd probably retrofit the file picker to do that too. > > Thoughts? > > Avi > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
