Re: Stack of NSWindow sheets
Re: Stack of NSWindow sheets
- Subject: Re: Stack of NSWindow sheets
- From: Gregory Weston <email@hidden>
- Date: Wed, 27 Apr 2011 13:16:27 -0400
On Apr 27, 2011, at 09:35, Oleg Andreev wrote:
> I'll clarify what I meant.
>
> Normally, user will see only one sheet at a time. There won't be any sort of step-by-step sheet switching within a single task (like in Xcode 4 when creating a new file). The only issue I'm trying to solve is presenting a username/password dialog when it was invoked by a background task (not a direct user action). And since I may have several such background tasks running, I can potentially present several dialogs at once.
>
> Again, normally you'll see no dialogs at all (when the password is already stored in keychain) or a single dialog when a new repository is added or the password was changed. But I should have a nice fallback for a case when several dialogs get popped out. With floating modal windows it is not a problem: they live independently from each other. But floating modal windows look awful, so I want to use sheets. And to present them correctly, I need to maintain some sort of a queue for these sheets.
I increasingly believe you're using the wrong UI for the need you describe. I'm not confident I have a good guess at what the *right* one is, unfortunately, but sheets spontaneously opening like this really feels wrong. It seems it will be troublesome for both the coder and the user.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden