[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug #3292] NSOpenPanel shouldn't use file extension to tellfileor
From: |
Jeff Teunissen |
Subject: |
Re: [Bug #3292] NSOpenPanel shouldn't use file extension to tellfileor directory |
Date: |
Tue, 22 Apr 2003 04:26:37 -0400 |
nobody@savannah.gnu.org wrote (on behalf of Yen-Ju Chen):
> =================== BUG #3292: FULL BUG SNAPSHOT ===================
> http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3292&group_id=99
>
> Submitted by: yjchen Project: GNUstep
> Submitted on: Mon 04/21/2003 at 11:37
> Category: Gui/AppKit Severity: 5 - Major
> Bug Group: Bug Resolution: None
> Assigned to: None Status: Open
>
> Summary: NSOpenPanel shouldn't use file extension to tell file or
> directory
>
> Original Submission: If a directory named MyDirectory.txt/, NSOpenPanel
> in Ink.app will think it is a file because the file extension is .txt.
> If I add a new extension,"" (empty string), in InkInfo.plist,
> all the directories will become files (without a small triangle behind)
> in NSOpenPanel. I think NSOpenPanel should not depend on the file
> extension to distinguish files or directories, but it may reduce the
> speed.
The behavior is correct, unless we want to define a difference between a
file and a file package (i.e. a directory with a known extension).
A Filename.rtfd directory is considered a file, because various apps (like
Ink and TextEdit) can open them as files. Likewise for filename.prefs
directories and the Preferences application.
--
| Jeff Teunissen -=- Pres., Dusk To Dawn Computing -=- deek @ d2dc.net
| GPG: 1024D/9840105A 7102 808A 7733 C2F3 097B 161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project http://www.quakeforge.net/
| Specializing in Debian GNU/Linux http://www.d2dc.net/~deek/