nobody@savannah.gnu.org wrote (on behalf of Yen-Ju Chen):
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.