Closed
Bug 132467
Opened 23 years ago
Closed 23 years ago
save page as format option not remembered on mac
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: bugzilla, Assigned: sdagley)
Details
(Keywords: embed, platform-parity)
Attachments
(1 file)
962 bytes,
patch
|
ccarlen
:
review+
sfraser_bugs
:
superreview+
scc
:
approval+
|
Details | Diff | Splinter Review |
found using 2002.03.20.08 comm verif bits on mac 10.1.3. looks like the filter
option selected is not remembered --it always has "web page, complete" selected.
this is not a problem on linux or win2k. will check on mac 9.x later on.
1. go to a web page, eg, http://mozilla.org/
2. hit cmd+S or select File > Save Page As.
3. note that the resulting file picker dlg has "web page, complete" selected for
the "Format" option droplist. change this to something else --either "web page,
HTML only" or "Text".
4. save the file.
5. go to another page, or stay at the same page --doesn't really matter-- and
repeat step (2).
expected: the file picker should have whatever format option you had selected in
step (3).
actual results: the file picker still lists "web page, complete".
Reporter | ||
Comment 1•23 years ago
|
||
also a problem on mac 9.1 (2002.03.20.08 comm bits over classic emulation).
Keywords: nsbeta1
OS: MacOS X → All
Summary: save page as option not remembered on mac → save page as format option not remembered on mac
Assignee | ||
Comment 2•23 years ago
|
||
Unless there is a strong argument for having this work I'm inclined to WONTFIX
or FUTURE it. I know how to make it work on Mac OS 9 but not on OS X (the docs
for the Nav Services 3.0 changes in OS X/Carbon, in a word, suck).
![]() |
||
Comment 3•23 years ago
|
||
The strong argument is that the default option doesn't save the actual source of
the page and so causes dataloss when used in conjunction with composer....
Reporter | ||
Comment 4•23 years ago
|
||
well, if it is fixable, i'd rather not mark this wontfix --esp since it can be
done in 9.x. :) adding helpwanted...
Keywords: helpwanted
Assignee | ||
Comment 5•23 years ago
|
||
I'm confused by the comment "the default option doesn't save the actual source of
the page" - I thought the default was to save _everything_ on the page (html
source and images)?
![]() |
||
Comment 6•23 years ago
|
||
It saves "everything" in that the result looks pretty much like what the page
looks like (unless the page has embedded scripts).
The problem is that it saves a serialization of the DOM, not the source. That
means that whitespace is changed, errors in the source are "fixed", etc.
Furthermore, it changes image src attributes, body background attributes, and so
forth, to point to local copies of the images.
In other words, saving an HTML page using "save page, complete" and then
uploading it back up via ftp, for example, would not work at all.
Assignee | ||
Comment 7•23 years ago
|
||
Boris, thanks for the explanation, now I understand the severity. I'll take a
look at the fix for OS 9 and try a WAG at the Nav Services 3 version.
Keywords: helpwanted
Assignee | ||
Comment 8•23 years ago
|
||
This patch seems to work for Nav Services 3.0/Carbon, posting so I can apply it
to a Classic build.
Assignee | ||
Comment 9•23 years ago
|
||
Verified in Classic build as well. Not that there's any documentation to this
effect but testing would indicate you don't actually have to pass the text of
the menu item into the call to pre-select the Format menu item. That's a Good
Thing™ since in Carbon the menu items are CFStrings while under Classic they're
Str255s. Have I mentioned how much I dislike Nav Services recently?
r/sr please
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 10•23 years ago
|
||
Let me rephrase that disparaging comment on Nav Services - it'd be more accurate
to comment on the sad state of Nav Services 3.0 documentation and sample code.
Having Nav Services 3.0 support Unicode is actually kinda nice.
Comment 11•23 years ago
|
||
Comment on attachment 75524 [details] [diff] [review]
Patch to pre-select a Format menu item
r=ccarlen
Attachment #75524 -
Flags: review+
Updated•23 years ago
|
Comment 12•23 years ago
|
||
Comment on attachment 75524 [details] [diff] [review]
Patch to pre-select a Format menu item
sr=sfraser
Attachment #75524 -
Flags: superreview+
Comment 13•23 years ago
|
||
Comment on attachment 75524 [details] [diff] [review]
Patch to pre-select a Format menu item
a=scc
Attachment #75524 -
Flags: approval+
Assignee | ||
Comment 14•23 years ago
|
||
Fix checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•23 years ago
|
||
vrfy'd fixed using 2002.03.26.08 comm bits on mac 10.1.3 and 9.1 (emulation).
Status: RESOLVED → VERIFIED
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
•