Skip navigation.
 
mlCocoa and modality (was: modal over modal)
FROM : Steven Kramer
DATE : Sun Apr 17 13:33:20 2005

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.
>

Related mailsAuthorDate
mlmodal over modal problem Luc Vandal Apr 11, 20:46
mlRe: modal over modal problem Steven Kramer Apr 16, 14:49
mlRe: modal over modal problem Kyle Hammond Apr 16, 17:58
mlCocoa and modality (was: modal over modal) Steven Kramer Apr 17, 13:33