• 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: Show/Hide file extension issue in savePanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Show/Hide file extension issue in savePanel


  • Subject: Re: Show/Hide file extension issue in savePanel
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 10 Sep 2009 10:16:15 -0400
  • Organization: Rogue Research Inc.

On 9/9/09 5:40 PM, Paul Figgiani said:

>Prior to installing Snow Leopard the following  code worked with no problem,
>It runs a savePanel for exporting an rtf doc with the contents of a
>textVIew. Under 10.6 it still works. However the option to show/hide the
>output file extension stopped working. The savePanel checkbox toggles the
>visibility of the file extension in the output file name textField. However
>the output file displays the extension regardless of the state of the
>checkbox.

Have you read the AppKit Release Notes?

<http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKit.html>

It says:

"The save panel now respects the Finder option for "Show all file
extensions". If it is set, then the "Hide Extension" checkbox will be
hidden and the extension will always be shown by always returning YES
from -isExtensionHidden"

Perhaps that's what you're experiencing?

>[panel setCanSelectHiddenExtension:YES];

The docs for this method should obviously be updated.  Alas, this never
seems to happen.  Even stuff from the 10.5 Release Notes are not in the
real docs (yet?).

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >Show/Hide file extension issue in savePanel (From: Paul Figgiani <email@hidden>)

  • Prev by Date: Scrolling NSScrollView by fractional amounts - why would values get rounded?
  • Next by Date: CGWindowListCreateImage fails on Snow Leopard with kCGNullWindowID
  • Previous by thread: Show/Hide file extension issue in savePanel
  • Next by thread: Table cell: how show blue when tapped only while editing is true?
  • Index(es):
    • Date
    • Thread