Closed
Bug 36789
Opened 25 years ago
Closed 24 years ago
File->Save should use nsIFilePicker instead of nsFileSpecWithUI
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
M18
People
(Reporter: pavlov, Assigned: law)
References
Details
(Whiteboard: [nsbeta2+])
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
File->Save should use nsIFilePicker instead of nsFileSpecWithUI. We need to get
rid of nsFileSpecWithUI ASAP.
PDT needs to know the noticable impact to user.
Whiteboard: [NEED INFO]
Reporter | ||
Comment 2•25 years ago
|
||
having multiple file pickers could confuse the user. Behavior between the two
is slightly different on mac and windows, and very different on linux. The old
one has numerous bugs which won't be fixed and the new one contains some
features that the old one does not.
Whiteboard: [NEED INFO]
I thought I remembered reviewing a patch that did this but apparently I imagined
it or it never got checked in. I've coded this up and am awaiting review.
Status: NEW → ASSIGNED
Comment 6•24 years ago
|
||
Bill, I am getting an error when I compile your patch on Linux,
c++ -o nsStreamTransfer.o -c -DOSTYPE=\"Linux2.2\" -DOJI
-I../../../../dist/include -I../../../../include -I/usr/X11R6/include
-fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -pedantic
-Wno-long-long -pthread -DDEBUG -DDEBUG_slamm -DTRACING -g -DMOZILLA_CLIENT
-include ../../../../config-defs.h -Wp,-MD,.deps/nsStreamTransfer.pp
nsStreamTransfer.cpp
nsStreamTransfer.cpp: In method `nsresult
nsStreamTransfer::SelectFileAndTransferLocation(class nsIChannel *, class
nsIDOMWindow *)':
nsStreamTransfer.cpp:98: conversion from `nsXPIDLCString' to non-scalar type
`nsCAutoString' requested
g
Comment 7•24 years ago
|
||
I have a patch that fixes this bug and 32014 as well.
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
The patch I just attached, in addition to fixing this bug, adds a prefs API for
Get/SetFilePref (which will replace the old one once everyone is converted). It
also fixes a filepicker bug I found with setting the initial directory.
Assignee | ||
Comment 10•24 years ago
|
||
Brian, have you tested that on Mac by any chance? nsIFilePicker isn't working
there in certain cases (or so I've found).
Assignee | ||
Comment 11•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•