• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: runModalSession handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: runModalSession handling


  • Subject: Re: runModalSession handling
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 05 Apr 2018 16:23:27 -0700

On Apr 5, 2018, at 15:27 , Tom Doan <email@hidden> wrote:
>
> I checked and none of my stopModalWithCodes are being fired, so the result
> code has to be coming off the system dialog. I did a kludge where I used 100
> and 101 for my own stop codes, and continued on 0 and 1, and that seemed to
> work around this

This does sound like a bug, but it’s hard to know. Using different stop codes
seems like a rational way to approach the problem.

Other possibilities you might investigate:

1. Close the modal window before using the NSOpenPanel, then reopen it with a
new modal session afterwards.

2. Display the NSOpenPanel as a sheet on the modal window, rather than a
separate window.

Is Carbon involved here in any way? This code looks like it was Carbon once, at
least.

_______________________________________________

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

References: 
 >runModalSession handling (From: Tom Doan <email@hidden>)

  • Prev by Date: Re: problem getting CALayer to draw an image
  • Next by Date: Re: Avoiding link conflicts with a static library
  • Previous by thread: runModalSession handling
  • Next by thread: assertion failure
  • Index(es):
    • Date
    • Thread