Closed
Bug 115148
Opened 23 years ago
Closed 23 years ago
win32: Mozilla does not remember the last directory used to save
Categories
(Core Graveyard :: File Handling, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.8
People
(Reporter: gilles+mozilla, Assigned: bugs)
References
Details
(Keywords: platform-parity, regression)
Attachments
(1 file, 2 obsolete files)
3.10 KB,
patch
|
Details | Diff | Splinter Review |
2001121303 win98
Save an image or file in a dir other than the one suggested in the dialog.
Try to save another one.
Expected result: the directory used is the one used in the first save operation.
Actual: the directory used is either c:\my documents or mozilla's install dir.
It happens between saves and between restarts.
It is working correctly with build 2001121103.
Comment 1•23 years ago
|
||
could this be a regression due to ben's recent checkins?
will check later on if this is also a problem on linux...
Comment 2•23 years ago
|
||
->ben, since bill will be away for the next several days.
Assignee: law → ben
Reporter | ||
Comment 3•23 years ago
|
||
With 2001121321 linux:
last dir is remembered between saves in the same session and is not remembered
between restarts.
OS: Windows 98 → All
Comment 4•23 years ago
|
||
this WFM on linux and mac os x, 2001.12.14.0x builds.
if this is still a problem with a more recent build, do reopen --it could be
limited to win32.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 5•23 years ago
|
||
It's not working on win98 2001121403.
Status: RESOLVED → REOPENED
OS: All → Windows 98
Resolution: WORKSFORME → ---
![]() |
||
Comment 6•23 years ago
|
||
*** Bug 115543 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 7•23 years ago
|
||
This seems to be a problem on win95/win98 but not on win2k or WinME (that last
is puzzling to me if 95/98 are broken).
![]() |
||
Comment 8•23 years ago
|
||
*** Bug 115718 has been marked as a duplicate of this bug. ***
Reporter | ||
Updated•23 years ago
|
Summary: Mozilla does not save last directory used to save → Mozilla does not remember the last directory used to save
Reporter | ||
Comment 9•23 years ago
|
||
*** Bug 115824 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 10•23 years ago
|
||
*** Bug 115718 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
seems limited to win32.
Keywords: pp
Summary: Mozilla does not remember the last directory used to save → win32: Mozilla does not remember the last directory used to save
Comment 12•23 years ago
|
||
It may be limited to Windows 98. It sure is annoying for those of us stuck with
Win 98, though. Can we upgrade the severity of this one to critical or blocker?
Comment 13•23 years ago
|
||
I just got e-mail from a fellow Bugzilla denizen. He confirms this bug on
Windows 95.
Comment 14•23 years ago
|
||
At the least, can someone try and figure out which checkin is responsible? If
it's not some critical code, maybe that checkin can be backed out until this if
fixed? Please?
Comment 15•23 years ago
|
||
on w2k is it possible that the 'save page as' code and 'save image' code is
using the same firing mechanism to save the directory information? The dialog
box is exactly the same here using both methods. eg one affect remembering of
the other.
Comment 16•23 years ago
|
||
*** Bug 116663 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
*** Bug 116698 has been marked as a duplicate of this bug. ***
Comment 18•23 years ago
|
||
Not quite MOSTFREQ, but getting there...
![]() |
||
Comment 19•23 years ago
|
||
*** Bug 116831 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
*** Bug 116858 has been marked as a duplicate of this bug. ***
Comment 21•23 years ago
|
||
Not having the ability to pull code and build this myself, all I can contribute
is that the 2001-12-11-09 ZIP build works. The next available Win32 build is
2001-12-12-06, and it doesn't work. So whatever broke this was obviously
checked in during that time.
Comment 22•23 years ago
|
||
i think it has someting to do with the new feature to save whole pages including
pictures.
Comment 23•23 years ago
|
||
*** Bug 117411 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 24•23 years ago
|
||
*** Bug 117408 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Keywords: mozilla0.9.8,
nsbeta1
Updated•23 years ago
|
Keywords: regression
![]() |
||
Comment 25•23 years ago
|
||
*** Bug 117494 has been marked as a duplicate of this bug. ***
Comment 26•23 years ago
|
||
Warner,
code changes and the save as web page complete: most likely changed this with
the bug 11632. Which was checked into the trunk on 12-11.
Reporter | ||
Comment 27•23 years ago
|
||
*** Bug 117533 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 28•23 years ago
|
||
*** Bug 117896 has been marked as a duplicate of this bug. ***
Comment 29•23 years ago
|
||
This also affects NT 4.0 sp6, not just Win 95-Me.
Comment 30•23 years ago
|
||
*** Bug 118032 has been marked as a duplicate of this bug. ***
Comment 31•23 years ago
|
||
*** Bug 118189 has been marked as a duplicate of this bug. ***
Comment 32•23 years ago
|
||
Sorry, Ben and Sairuh. I don't want to be a PITA, but 16 dupes in about 20 days
makes this a candidate for MOSTFREQ or something, wouldn't it?
Comment 33•23 years ago
|
||
the same version that loses paths isn´t able to store html-files
in the network ...
means -
File - SAVE PAGE AS - network - server - share - directory
doesn´t work
after choosing the right folder and giving the right name ..
you get a neverending context-menu and the file(s) did not download.
![]() |
||
Comment 34•23 years ago
|
||
Separate bug, please.
Comment 35•23 years ago
|
||
Yes. While that may or not be related, in 0.9.7, which exhibits this bug, saving
complete pages functions fine. It is indeed separate. You should open a new bug,
and maybe mention this one in your description comment.
Assignee | ||
Updated•23 years ago
|
Status: REOPENED → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.8
Assignee | ||
Comment 36•23 years ago
|
||
fixes this bug by remembering the download dir & also the bug about persisting
the last selected filter.
![]() |
||
Comment 37•23 years ago
|
||
Could we make the "filterindexforcontenttype" be "filter_index_for_content_type"
instead? Also, is the "/" from the content type valid in a pref name?
Assignee | ||
Comment 38•23 years ago
|
||
OK.. problem in widget (file picker wasn't setting the filter index of the
native file picker before opening it) fixed here...
also, restricting the memory of the selected filter to the instances when a
converter is being selected, rather than a save type. As a result, changing the
pref name
Attachment #63910 -
Attachment is obsolete: true
![]() |
||
Comment 39•23 years ago
|
||
What about the xhtml type? application/xml+xhtml or something like that?
![]() |
||
Comment 40•23 years ago
|
||
er, make that application/xhtml+xml
Comment 41•23 years ago
|
||
Ben,
That looks like it *uses* the pref for the default selection index only for
text/html and text/xml (whatever flavors of the latter), but, it resets the pref
for *all* types. Should resetting the pref be restricted to the same set of
content-types?
Assignee | ||
Comment 42•23 years ago
|
||
move the content type checking stuff used in a couple of places into a separate
function, use the result of a single call to that in the foundHeaderInfo
function to replace various checks. Also, only set the converter index pref if
we've been saving a document (and thus had the document filter set)
Attachment #63939 -
Attachment is obsolete: true
Comment 43•23 years ago
|
||
see my initial patch in bug #72623
I don't think you want to use get / set XFilePref. you want get / set complex
value.
bnesse or alecf would know for sure.
note, I'll follow your lead of "browser.download.dir" and name my pref
something similar, like "compose.attach.dir" or "mail.saveas.dir", etc.
Comment 44•23 years ago
|
||
fyi, I'm going with mail.compose.attach.dir and messenger.save.dir.
Comment 45•23 years ago
|
||
nsIPref is depricated. Please do not write new code that uses it. Use
nsIPrefService and nsIPrefBranch instead. There are plenty of JS examples as I
have purged nsIPref from all JS files except the Preferences panel.
Comment 46•23 years ago
|
||
*** Bug 119552 has been marked as a duplicate of this bug. ***
Comment 47•23 years ago
|
||
It seems like this bug is related to bug 27493, though this one is
Windows-specific and the other is more general.
Assignee | ||
Comment 48•23 years ago
|
||
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 49•23 years ago
|
||
Ben, should this be fixed on build 2002011503, then? It doesn't seem to work
when I do a "Save Image" from the context menu; it's still defaulting to my
Documents directory.
Comment 50•23 years ago
|
||
I'm not sure who marked this fixed, but it was a tad premature. 2002011503 does
not reflect anythign being fixed, although this build may not contain it.
Waiting till tomorrow's build to reopen. Ben, please do not make me take away
your blankie again.
Assignee | ||
Comment 51•23 years ago
|
||
I re-landed it.
Comment 52•23 years ago
|
||
That's what Amelia Erheart said...
Comment 53•23 years ago
|
||
It's working correctly in build 2002011604.
However, the file dialogs to *load* a file (for "Open File" and for the file
selector in form inputs) still don't remember the last-used directory. Does
this need to be opened up as a different bug (or is it already)?
Comment 54•23 years ago
|
||
Works great in 1604. ben: Go have yourself a cookie. ;)
Status: RESOLVED → VERIFIED
![]() |
||
Comment 55•23 years ago
|
||
*** Bug 120561 has been marked as a duplicate of this bug. ***
Comment 56•23 years ago
|
||
*** Bug 120839 has been marked as a duplicate of this bug. ***
Comment 57•23 years ago
|
||
This bug has been verified fixed. I'm using 0.9.7, Build ID: 2002011803, on
Windows 98, with a fresh profile, and I'm still getting this problem, however.
Mozilla isn't remembering the last directory used to save a file, such as the
www.mozilla.org front page.
Is it just me?
Comment 58•23 years ago
|
||
Please ignore my last comment. It's working fine for me. I apologize for the spam.
![]() |
||
Comment 59•23 years ago
|
||
*** Bug 120981 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Keywords: mozilla0.9.8+
Comment 60•23 years ago
|
||
*** Bug 121268 has been marked as a duplicate of this bug. ***
Comment 61•23 years ago
|
||
*** Bug 122219 has been marked as a duplicate of this bug. ***
Comment 62•23 years ago
|
||
Dan, regarding comment #53, I believe that appears to be bug 120931.
Comment 63•23 years ago
|
||
*** Bug 123472 has been marked as a duplicate of this bug. ***
Comment 64•23 years ago
|
||
*** Bug 133744 has been marked as a duplicate of this bug. ***
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•