Closed
Bug 113774
Opened 23 years ago
Closed 23 years ago
[Mach] file picker doesn't work
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 110372
People
(Reporter: dbaron, Assigned: ccarlen)
Details
Attachments
(1 file)
1.76 KB,
patch
|
Details | Diff | Splinter Review |
In the mach-o build, the file picker doesn't work. A file picker to open
doesn't do anything, and a file picker to save crashes. I have a patch to
improve this situation a bit, but not fix it entirely -- it gets a file picker
to open (e.g., for a file input on the bugzilla create attachment) to work, and
it gets a file picker to save to no-op.
The basic problem is that we're using the unix local file implementation so we
can't initialize an nsILocalFile from an FSSpec. I've heard talk of
implementing nsILocalFileMac for the mach-o build. Until then, this patch might
be useful, unless someone has a better idea.
Reporter | ||
Comment 1•23 years ago
|
||
This patch gets things half working (open works, save no-ops). Does the
conversion to a POSIX-style path still allows a file to be uniquely identified,
on OS X? I don't see a way to get an path from an FSSpec for a file that
doesn't exist, so I don't see a way to get save working (except for overwriting
files, which works with this patch).
Comment 2•23 years ago
|
||
i think conrad wanted to work on the local file rewrite.
Assignee: pinkerton → ccarlen
Comment 3•23 years ago
|
||
*** This bug has been marked as a duplicate of 110372 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 4•23 years ago
|
||
verified duplicate though the patch should probably go over to the other
bug
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•