• 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: NSSavePanel problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel problem


  • Subject: Re: NSSavePanel problem
  • From: Andy Lee <email@hidden>
  • Date: Sat, 23 Feb 2013 21:12:13 -0500

On Feb 23, 2013, at 7:40 PM, Peter Hudson <email@hidden> wrote:

> I wondered if it's possible to run the save panel without the row of widgets which the directory picker popup is in ?
> I couldn't find an API to remove it though.

It might be possible, but I doubt it -- those controls seem an integral part of the save/open panels.

To repeat Jon's question: are you familiar with using zombies to track down memory bugs? This sounds like a memory bug, and if it's in your code and if it's possible to track it down then it's worth doing so.

Are you using ARC or manual retain/release?

How about posting the code you use to open the save panel? Kind of a long shot but there *might* be a clue.

Also, to repeat part of Graham's question: is the window you're attaching the sheet to a floating window or a regular window? Maybe the sandboxing is irrelevant.

> How do you run it as a panel standalone - as opposed to as a sheet ?

I don't remember the method name offhand, but you'll find it if you look at the docs for NSSavePanel. If you try it and the crash goes away, please let us know -- I'm curious.

--Andy


>
> Peter
>
>
>
> On 24 Feb 2013, at 00:35, Graham Cox <email@hidden> wrote:
>
>>
>> On 24/02/2013, at 10:49 AM, Peter Hudson <email@hidden> wrote:
>>
>>> Here is a truncated crash log - whole log exceeds dev-list max size;
>>
>>
>> I have seen something similar when running the save panel as a sheet attached to a floating window with sandboxing.... does that sound like your situation?
>>
>> I fixed it temporarily by running the panel standalone not as a sheet, but I never got to the bottom of it. As it was part of a raft of bugs with sandboxing I reported it,  and assumed it would gradually get fixed in a system release. Still waiting though.
>>
>> --Graham
>>
>>
>
> _______________________________________________
>
> 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


_______________________________________________

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

  • Follow-Ups:
    • Re: NSSavePanel problem
      • From: Quincey Morris <email@hidden>
References: 
 >NSSavePanel problem (From: Peter Hudson <email@hidden>)
 >Re: NSSavePanel problem (From: Jon Gary <email@hidden>)
 >Re: NSSavePanel problem (From: Peter Hudson <email@hidden>)
 >Re: NSSavePanel problem (From: Graham Cox <email@hidden>)
 >Re: NSSavePanel problem (From: Peter Hudson <email@hidden>)

  • Prev by Date: Re: NSSavePanel problem
  • Next by Date: Re: NSSavePanel problem
  • Previous by thread: Re: NSSavePanel problem
  • Next by thread: Re: NSSavePanel problem
  • Index(es):
    • Date
    • Thread