Re: beginSheetModalForWindow: and Distributed Objects

2008-05-01 Thread Michael Vannorsdel
Great to hear. Bugs or departures from documentation are not rare, especially with APIs that started at or before Cheetah (10.0). So sometimes things don't work as expected or documentation is misleading or confusing. The docs for this method should probably be revisited by Apple. On

Re: beginSheetModalForWindow: and Distributed Objects

2008-05-01 Thread Andrew Kimpton
On May 1, 2008, at 1:52 AM, Michael Vannorsdel wrote: I'm fairly certain this method keeps the loop in default mode; the docs are probably copy and pasted or contain archaic info. Just to recap, how do you know messages are not being processed? And where are these originating, another pro

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Michael Vannorsdel
I'm fairly certain this method keeps the loop in default mode; the docs are probably copy and pasted or contain archaic info. Just to recap, how do you know messages are not being processed? And where are these originating, another process, a secondary thread? When you end the sheet does

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Michael Ash
On Wed, Apr 30, 2008 at 5:29 PM, Andrew Kimpton <[EMAIL PROTECTED]> wrote: > > On Apr 30, 2008, at 3:59 PM, Michael Vannorsdel wrote: > > > > This is true of course but since he's getting loop mode issues I'm just > assuming either he's actually running a modal window or displaying a sheet > on a

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Andrew Kimpton
On Apr 30, 2008, at 3:59 PM, Michael Vannorsdel wrote: This is true of course but since he's getting loop mode issues I'm just assuming either he's actually running a modal window or displaying a sheet on a modal window. If it's a normal stock sheet there would have been no issues with NS

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Michael Vannorsdel
This is true of course but since he's getting loop mode issues I'm just assuming either he's actually running a modal window or displaying a sheet on a modal window. If it's a normal stock sheet there would have been no issues with NSConnection. On Apr 30, 2008, at 1:36 PM, Michael Ash wr

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Michael Ash
On Wed, Apr 30, 2008 at 1:52 PM, Michael Vannorsdel <[EMAIL PROTECTED]> wrote: > NSModalPanelRunLoopMode. It definitely shouldn't be. A properly implemented sheet should run in NSDefaultRunLoopMode, as sheets do not block the flow of program execution. It's possible to have an application-modal sh

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Michael Vannorsdel
NSModalPanelRunLoopMode. On Apr 30, 2008, at 5:59 AM, Andrew Kimpton wrote: hat'll help - once I can find out what mode the beginSheetModalForWindow: is using... ? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Andrew Kimpton
Michael Vannorsdel wrote: NSConnection has a addRequestMode: method you can add multiple modes it will work in. That'll help - once I can find out what mode the beginSheetModalForWindow: is using... ? Andrew 8-) ___ Cocoa-dev mailing list (Cocoa-

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-29 Thread Michael Vannorsdel
NSConnection has a addRequestMode: method you can add multiple modes it will work in. On Apr 29, 2008, at 7:05 PM, Andrew Kimpton wrote: I'm displaying a modal sheet for a Window using beginSheetModalForWindow: but I'm seeing that whilst the sheet is displayed new messages sent to the app

beginSheetModalForWindow: and Distributed Objects

2008-04-29 Thread Andrew Kimpton
I'm displaying a modal sheet for a Window using beginSheetModalForWindow: but I'm seeing that whilst the sheet is displayed new messages sent to the application using a previously registered NSConnection are not being handled. I think this is because the run loops is not in NSDefaultRunLoop