Cocoa and modality (was: modal over modal)
Cocoa and modality (was: modal over modal)
- Subject: Cocoa and modality (was: modal over modal)
- From: Steven Kramer <email@hidden>
- Date: Sun, 17 Apr 2005 13:33:20 +0200
For the record: Kyle is right, I didn't bother to read the code. The
bug I was thinking of has to do with nested modal sessions. I was
triggered by the keyword 'modal' because I have encountered numerous
problems with modal sessions and modal windows. That part of Cocoa does
not seem to be the best tested, maybe because the HIG frowns upon
modality. I would like to know if others have had similar
experiences...
Steven
Op 16-apr-05 om 17:58 heeft Kyle Hammond het volgende geschreven:
Hi,
Remove that call to [NSApp stopModal] and only the dlgBrowse will go
away when it's done. There's no need to do a sheet or any other weird
contortions to get modal on modal windows working. You can have many
levels of modal windows all going if you really need to; it's not the
greatest design to force the user through many levels of modal
windows, but there's nothing in Cocoa preventing you from doing it.
It's not a Cocoa bug, it's a programming error.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden