Closed Bug 30453 Opened 25 years ago Closed 24 years ago

Use browser.download.dir pref for saving files

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: rzach, Assigned: mscott)

References

(Blocks 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [branch accept])

Attachments

(1 file)

My prefs.js has a pref called browser.download.dir, which points to my home directory. I assume the profile wizard sets it up. It would be nice if the save file dialog would use it. Linux build 2000.03.03.12
*** Bug 31309 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
That pref *is* used by all the XP code. It ultimately gets passed to nsIFileWiudget::SetDisplayDirectory. Unfortunately, some implementations of nsIFileWidget don't properly use the directory name when they display the file picker. Windows works correctly, gtk and mac don't (I didn't check the other platforms). So, the fix must occur in the nsIFileWidget implementations. I'm presuming that's in xptoolkit/widgets and am reassigning to the owner of that component.
Assignee: law → trudelle
Status: ASSIGNED → NEW
Component: XPApps → XP Toolkit/Widgets
QA Contact: paulmac → jrgm
reassigned to danm as p3 for m17
Assignee: trudelle → danm
Target Milestone: M17
Mass moving M17 bugs to M18
Target Milestone: M17 → M18
mass-moving all bugs to m21 that are not dofood+, or nsbeta2+
Target Milestone: M18 → M21
Target Milestone: M21 → Future
jrgm, am taking this (unless you mind ;).
OS: Linux → All
QA Contact: jrgm → sairuh
Hardware: PC → All
This is relnoted elsewhere, I believe. "Dialogs are not smart." Gerv
Keywords: relnoteRTM
*** Bug 61251 has been marked as a duplicate of this bug. ***
danm, what's the status on this? or, should it go to another person [eg, mscott or bill or...?] thx much --implementation of this would be Very Useful. :)
this should go to me.
Assignee: danm → mscott
Target Milestone: Future → mozilla0.9
awesome! I've been waiting for this :) sr=alecf
fix checked in. Now when you invoke the helper app dialog and click save to disk, we pay attention to the value of this pref when selecting the intial directory for the file picker.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Just FYI, this checkin introduces an additional intermodule dependency from xpcom/components/ucth to the prefs module. http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Ports/976149300.24417.gz
thanks for pointing that out cls. Adding "pref" to the requires list right now.
coolio. vrfy fixed [both within a session and btwn sessions] on winnt and linux [2000.12.08.08] and mac [2000.12.07.08].
Status: RESOLVED → VERIFIED
Scott, please check this into the branch ASAP.
Whiteboard: [branch accept]
done!
this has been verified on branch builds by sairuh.
Verified on Netscape6 commerical build (03/15/2001) on Sparc Solaris 2.7 (with min patch level) and x86 Solaris 2.8 (max. patch level). Works fine. [tag: -r Netscape_6_0_OEM_BRANCH -D "03/06/2001 22:00:00" PSM: 1.4 (PSM_1_4_N6) & NSS 3.1 (NSS_3_1_RTM tag)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: