browser.download.lastDir set to unavailable network drive hangs

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
10 years ago
8 years ago

People

(Reporter: BCS, Unassigned)

Tracking

({hang})

2.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

if something is saved to a network path (\\10.0.0.1\...) using "save as" and then that path is unavailable (you move a laptop to another network) attempting to save something else causes a long hang (>min, might be inf). Something like this also happens with "open file" but is resolves it self after a few minutes.

editing prefs.js fixes the problem:

-user_pref("browser.download.lastDir", "\\\\10.0.0.1\\....");
+user_pref("browser.download.lastDir", "c:\\");

Reproducible: Always

Steps to Reproduce:
1. save to a network path
2. make that path unavailable (switch to another network / unplug a cable / etc.)
3. try to save something else
Actual Results:  
hard hang.

Expected Results:  
"save as" dialog box

Comment 1

10 years ago
That sounds like windows standard behavior, it's searching for the drive over the network which doesn't exist.
(Reporter)

Comment 2

10 years ago
Ok, this may be a problem in Windows, but it's bad enough that I think it could use a workaround of some kind.

Something like; if the current default dir is a network path, spawn a thread to test for the dir, if it doesn't return in X time (~10s) switch the default dir to something sane and use it.

(I have no clue how hard this would be so take it with a big grain of salt)

Comment 3

10 years ago
Certainly possible. Currently we just launch the native windows file picker and hand it the path, windows does the rest.

Comment 4

9 years ago
Windows standard behavior eventually comes back with a 'network not available' pop up or similar. Firefox hangs indefinitely. I agree it is pretty annoying and does need fixing.
(Reporter)

Updated

9 years ago
Duplicate of this bug: 402373
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Also, give a stacktrace. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
https://developer.mozilla.org/En/How_to_get_a_stacktrace_for_a_bug_report
Severity: normal → major
Keywords: hang
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.