Closed Bug 299882 Opened 20 years ago Closed 20 years ago

Downloads > Download Folder directory is not updated

Categories

(Firefox :: Settings UI, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox1.5

People

(Reporter: sylvain.pasche, Assigned: asaf)

References

Details

(Keywords: fixed1.8, regression)

Attachments

(1 file, 3 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050706 Firefox/1.0+ On linux (ok on windows last time I checked), the directory in the "save all files to this folder" textfield is not updated correctly. Reproducible: Always Steps to Reproduce: 1. Go to Deer Park Preferences > Downloads 2. Choose "save all files to this folder", and click "Browse.." 3. Select a random folder and press "Open" 4. The selected folder is shown in the list 5. Now, click once again "Browse.." and choose another folder Actual Results: The textfield is not updated with the new folder, but keeps the old one (that's just the display, because if you close and reopen the preferences, it shows the new one). Expected Results: The folder directory should have been updated See the last comments on bug 283608
Version: unspecified → Trunk
*** This bug has been marked as a duplicate of 284089 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Sorry, this is not a duplicate of 284089. The simple proof is that this bug is still there with today's nightly build, although patch for bug 284089 has been commited since 2005-06-30.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050716 Firefox/1.0+ ID:2005071622 Oops. I can confirm this too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patch (obsolete) — Splinter Review
On windows, set browser.preferences.instantApply to true to see this problem. The textfield of download destination folder is only updated when browser.download.folderList is changed. The textfield should see browser.download.dir.
Attachment #189607 - Flags: review?(mconnor)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ I have the same problem but also note that the path cannot be manually edited or even selected, forcing me to use the browse button which doesn't work.
*** Bug 307786 has been marked as a duplicate of this bug. ***
For what it's worth, I can confirm seeing this behaviour in "1.5b1": Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 The browse button does work for me, but you won't actually -see- the change until you exit the preference popup and revisit it.
I just confirmed this behaviour in 1.5b2. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 The selected folder does not change in dialog until Preferences dialog is exited and reopened.
Attached patch patch (non-bitrotted) (obsolete) — Splinter Review
Attachment #189607 - Attachment is obsolete: true
Attachment #198871 - Flags: review?(bugs.mano)
Attachment #189607 - Flags: review?(mconnor)
Comment on attachment 198871 [details] [diff] [review] patch (non-bitrotted) add "return undefined;" to writeFolderList instead.
Attachment #198871 - Flags: review?(bugs.mano) → review-
Assignee: nobody → ispiked
Flags: blocking1.8rc1?
Keywords: regression
Attached patch patch v2.0 (obsolete) — Splinter Review
There's no point in calling that function if we're always going to return undefined. This patch also fixes /mail's download.xul.
Attachment #198871 - Attachment is obsolete: true
Attachment #198891 - Flags: review?(bugs.mano)
Comment on attachment 198891 [details] [diff] [review] patch v2.0 Eh? This will break the special casing of the "Dekstop" folder, etc.
Attachment #198891 - Flags: review?(bugs.mano) → review-
We may want to optimize it at some point, so we never run through readDownloadDirPref twice.
Assignee: ispiked → bugs.mano
Status: NEW → ASSIGNED
Attachment #198972 - Flags: review?(mconnor)
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → Firefox1.5
Attachment #198891 - Attachment is obsolete: true
Attachment #198972 - Flags: review?(mconnor) → review+
Checking in downloads.xul; /cvsroot/mozilla/browser/components/preferences/downloads.xul,v <-- downloads.xul new revision: 1.10; previous revision: 1.9 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Attachment #198972 - Flags: approval1.8rc1?
Attachment #198972 - Flags: approval1.8rc1? → approval1.8rc1+
Flags: blocking1.8rc1? → blocking1.8rc1+
1.8 branch: Checking in browser/components/preferences/downloads.xul; /cvsroot/mozilla/browser/components/preferences/downloads.xul,v <-- downloads.xul new revision: 1.8.2.1; previous revision: 1.8 done
Keywords: fixed1.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: