Re: NSSavePanel: Another sandbox issue
Re: NSSavePanel: Another sandbox issue
- Subject: Re: NSSavePanel: Another sandbox issue
- From: Graham Cox <email@hidden>
- Date: Thu, 31 May 2012 13:06:45 +1000
On 31/05/2012, at 12:54 PM, Marco S Hyman wrote:
> The user doesn't know or care what the actual path is. Why are you
> trying to show it in a save dialog.
I don't, as such, but the save panel shows the full path and it's simply wrong.
I have a specific location inside my Application Support folder where I save templates. By saving them there, they are automatically included in the Template Browser, which is another part of my app. Because App Support is now inside the sandbox, that's where it needs to go, and that's no problem. Except that when I try to set this directory, the save panel takes me to the OLD ~/Library/Application Support/... directory. I could save the file there, except that it's outside the sandbox, and my template browser is not looking there any more.
If the save panel hid the real location from me by hiding part of the path and making it look like ~/Library/App Support, that would be fine, but it doesn't do that - it literally sets the incorrect directory outside of my sandbox.
One possible reason for it might be that there is a folder in the old location for my previous version's app support - I need to check if that is the cause of the confusion. But that's not going to help our users who are upgrading from the previous (non sandboxed) version and will have those directories.
The right thing for Apple to do at this point is to revoke the sandboxing requirement until 10.8. (or possibly until whatever version of 10.7.x is verified to work properly and we can have sandboxing conditional by version) Who's going to step up to the plate and make the decision?
--Graham
P.S. Just saw this: http://www.macworld.com.au/news/ac-devs-air-frustrations-at-mac-app-store-sandboxing-debacle-55502/
_______________________________________________
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