On May 14, 2013, at 21:16 , Scott Ribe <scott_r...@elevated-dev.com> wrote:

> On 10.6.8, if I enter a plain filename without extension, the save panel 
> returns the path with the extension appended. On 10.7.5, where sandboxing 
> kicks in and this actually matters because the code cannot normalize the 
> returned name, the save panel returns the path WITHOUT extension.

Could you clarify a couple of thingsā€¦

Are you typing the file name into the Save panel, or just pressing Enter to use 
the pre-filled name? What are the settings for "canSelectHiddenExtension" and 
"isExtensionHidden"? What is the behavior on 10.8.3?

I seem to recall noticing a change in behavior in some system version, where 
the save panel no longer added the extension when it was missing. This was 
either on the initial file name pre-filled in the panel, or on entering an 
extension-less name when the checkbox indicating "isExtensionHidden" was 
unchecked, or something like that. But my recollection on this is very hazy, 
sorry.

Does it make any difference if you use the UTI for PDF files instead of the 
literal string "PDF" for the extension? We already know that the powerbox Save 
panel doesn't implement everything the regular one does, and it may have some 
limitations for non-UTI type strings.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to