Closed
Bug 417910
Opened 17 years ago
Closed 17 years ago
Save As panel doesn't remember last saving format
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: dominik, Assigned: jaas)
References
Details
(Keywords: regression)
Attachments
(1 file, 3 obsolete files)
13.65 KB,
patch
|
roc
:
superreview+
beltzner
:
approval1.9b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3) Gecko/2008020511 Firefox/3.0b3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3) Gecko/2008020511 Firefox/3.0b3
Since version 3, the saving format selector is not set to last selection.
Reproducible: Always
Steps to Reproduce:
1. Open the "Save As" panel on a random page.
2. Change the format to "Web Page, HTML only"
3. Save the page
4. Open the "Save As" panel.
Actual Results:
The format selector is set on "Web Page, complete"
Expected Results:
The format should be set on "Web Page, HTML only"
I'm using firefox 3.0b3.
Reporter | ||
Updated•17 years ago
|
Version: unspecified → Trunk
Comment 1•17 years ago
|
||
Confirming - I see this using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b4pre) Gecko/2008021604 Minefield/3.0b4pre. I checked Firefox 2.0.0.12 and it does default to the last selection that you made.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•17 years ago
|
Assignee: nobody → joshmoz
Component: Form Manager → Widget: Cocoa
Product: Firefox → Core
QA Contact: form.manager → cocoa
Updated•17 years ago
|
Flags: blocking1.9?
Comment 3•17 years ago
|
||
this seems to a be a regression since Firefox 2, since its also broken in the Alpha 1 -> Beta 3 Versions of Firefox 3.
Keywords: regression
This should work at least as well as our carbon impl did.
Attachment #306166 -
Flags: review?(stuart.morgan)
We can also just kill off the "sCurrentProcessSignature" variable, it isn't used.
Comment 6•17 years ago
|
||
Comment on attachment 306166 [details] [diff] [review]
fix v1.0
r=smorgan
>+#define FILE_TYPE_NATIVE_PREF @"GeckoFilePickerFormatIndex"
Why a #define, rather than a |static NSString* const|?
Attachment #306166 -
Flags: review?(stuart.morgan) → review+
Attachment #306166 -
Attachment is obsolete: true
Attachment #306174 -
Flags: superreview?(roc)
so if someone created two filepickers, opened one and waited for it to close, then opened the other and waited for it to close, then asked for the filter index of the first one, they could get the wrong value? I.e., shouldn't we keep a per-filepicker filterIndex as well as store it in prefs?
Uses gecko prefs only to init the index value for each instance, saves out to prefs whenever an index is used.
There is a bunch of comment cleanup in this patch, sorry but that style was driving me nuts and it didn't match the rest of cocoa widgets.
Attachment #306174 -
Attachment is obsolete: true
Attachment #306193 -
Flags: superreview?(roc)
Attachment #306174 -
Flags: superreview?(roc)
Assignee | ||
Comment 10•17 years ago
|
||
Forgot a sanity check.
Attachment #306193 -
Attachment is obsolete: true
Attachment #306317 -
Flags: superreview?(roc)
Attachment #306193 -
Flags: superreview?(roc)
Comment on attachment 306317 [details] [diff] [review]
fix v2.1
+const char* kLastTypeIndexPref = "filepicker.lastTypeIndex";
Infintesimally more efficient to write "const char kLastTypeIndexPref[] = ..."
Attachment #306317 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 12•17 years ago
|
||
Comment on attachment 306317 [details] [diff] [review]
fix v2.1
This is low risk, reward is it fixes a blocker :) Doesn't necessarily need to make a beta, it would just be nice.
Attachment #306317 -
Flags: approval1.9b4?
Comment 13•17 years ago
|
||
Comment on attachment 306317 [details] [diff] [review]
fix v2.1
a1.9b4=beltzner
Attachment #306317 -
Flags: approval1.9b4? → approval1.9b4+
Assignee | ||
Comment 14•17 years ago
|
||
landed on trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 15•17 years ago
|
||
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b4pre) Gecko/2008022904 Minefield/3.0b4pre.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•