FROM : Ettore Pasquini
DATE : Sat Dec 25 12:22:28 2004
Hi,
I occasionally experience a problem with modal alert panels. I create
one with:
NSRunAlertPanel(alertTitle, alertMsg, @"Understood", nil, nil);
where alertTitle and alertMsg are 2 NSStrings correctly created with
[NSString stringWithFormat: ...].
The problem is that very rarely, with no reproducible pattern, the
panel doesn't get closed once the user clicks on the button. It just
sits there. The application reacts as the panel has been closed,
because I am even able to select other windows and fully use the app as
if the panel was closed. When the application needs to open another
alert panel (created with the same call) the old one is finally closed
but the new one takes its place, with an identical behavior.
My application is a document based application - I am not sure what
other information I should provide because the function call seems
straightforward, and I don't know what can be related to it..... did
anybody ever experience this?
Thank you in advance.
Ettore
DATE : Sat Dec 25 12:22:28 2004
Hi,
I occasionally experience a problem with modal alert panels. I create
one with:
NSRunAlertPanel(alertTitle, alertMsg, @"Understood", nil, nil);
where alertTitle and alertMsg are 2 NSStrings correctly created with
[NSString stringWithFormat: ...].
The problem is that very rarely, with no reproducible pattern, the
panel doesn't get closed once the user clicks on the button. It just
sits there. The application reacts as the panel has been closed,
because I am even able to select other windows and fully use the app as
if the panel was closed. When the application needs to open another
alert panel (created with the same call) the old one is finally closed
but the new one takes its place, with an identical behavior.
My application is a document based application - I am not sure what
other information I should provide because the function call seems
straightforward, and I don't know what can be related to it..... did
anybody ever experience this?
Thank you in advance.
Ettore
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

