Closed
Bug 193698
Opened 22 years ago
Closed 21 years ago
"attachment" content shows a checkbox for "don't ask"
Categories
(Core Graveyard :: File Handling, defect, P1)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.5alpha
People
(Reporter: bzbarsky, Assigned: Biesinger)
References
Details
(Keywords: helpwanted)
Attachments
(2 files)
13.04 KB,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
7.46 KB,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
And we ignore that checkbox for such content. We need to come up with a
coherent strategy here. A thorough description of what IE does and does not do
would be very nice.....
Reporter | ||
Updated•22 years ago
|
Reporter | ||
Comment 2•21 years ago
|
||
*** Bug 186552 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 3•21 years ago
|
||
*** Bug 209761 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 4•21 years ago
|
||
unless my testcase was wrong, MSIE 5.0 and 5.5 (I don't have 6.0 handy
currently) both show the normal "Open"/"Save" dialog but with a greyed-out "[x]
always ask" checkbox.
How about we just do the same?
Reporter | ||
Comment 5•21 years ago
|
||
That's exactly what we should be doing... except we should also change the text
to say something like "The site has requested that this content be handled
externally" instead of "we don't know how to handle this content".
Assignee | ||
Comment 6•21 years ago
|
||
ok. taking.
Assignee: bzbarsky → cbiesinger
Priority: P2 → P1
Target Milestone: mozilla1.5beta → mozilla1.5alpha
Assignee | ||
Comment 7•21 years ago
|
||
implement what bz described before.
This will make the checkbox in the dialog not reflect the MIMEInfo value (for
content-disposition:attachment content)
Assignee | ||
Updated•21 years ago
|
Attachment #126870 -
Flags: review?(bzbarsky)
Reporter | ||
Comment 8•21 years ago
|
||
Comment on attachment 126870 [details] [diff] [review]
patch
r=bzbarsky. you're on a roll, man!
Attachment #126870 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 126870 [details] [diff] [review]
patch
actually, this patch is not complete, there are other implementations of this
interface that must be changed. will attach an additional patch
Assignee | ||
Comment 10•21 years ago
|
||
this is needed in addition to the other patch
Assignee | ||
Comment 11•21 years ago
|
||
Comment on attachment 126900 [details] [diff] [review]
fix other implementers
this time, including the necessary camino change.
Attachment #126900 -
Flags: review?(bzbarsky)
Reporter | ||
Comment 12•21 years ago
|
||
Comment on attachment 126900 [details] [diff] [review]
fix other implementers
r=me; please file bugs on camino and such to update their wording if they want
to.
Attachment #126900 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #126870 -
Flags: superreview?(darin)
Assignee | ||
Comment 13•21 years ago
|
||
Comment on attachment 126900 [details] [diff] [review]
fix other implementers
bz: ok, I'll file those bugs when I checkin this patch
Attachment #126900 -
Flags: superreview?(darin)
Comment 14•21 years ago
|
||
Comment on attachment 126870 [details] [diff] [review]
patch
>Index: embedding/components/ui/helperAppDlg/nsHelperAppDlg.js
>+ if ( this.mForced && desc )
>+ {
>+ modified = this.replaceInsert( this.getString( "intro.attachment.label" ), 1, desc );
>+ }
>+ else if ( this.mForced && !desc ) {
>+ modified = this.getString( "intro.attachment.noDesc.label" );
>+ }
>+ else if ( desc )
> {
nit: keep the brace styles consistent ;-)
>Index: embedding/components/ui/helperAppDlg/nsHelperAppDlg.xul
> <strings style="display:none;">
> <string id="brandShortName"> &brandShortName; </string>
> <string id="intro.withDesc"> &intro.label; </string>
> <string id="intro.noDesc"> &intro.noDesc.label; </string>
>+ <string id="intro.attachment.label"> &intro.attachment.label; </string>
>+ <string id="intro.attachment.noDesc.label">&intro.attachment.noDesc.label;</string>
> <string id="defaultApp"> &useSystemDefault.label; </string>
> <string id="badApp"> &badApp; </string>
> <string id="badApp.title"> &badApp.title; </string>
> <string id="chooseAppFilePickerTitle">&chooseAppFilePickerTitle;</string>
nit: the original author of this file seemed to want things lined up. maybe
you could fix these to be that way when you check in.
>Index: uriloader/exthandler/nsExternalHelperAppService.cpp
>+ if (!mHandlingAttachment) {
> mMimeInfo->GetAlwaysAskBeforeHandling(&alwaysAsk);
> }
> if (alwaysAsk)
> {
nit: keep braces consistent. i know the file was already inconsistent
in this case, but if you can fix at least this part that'd be great :)
sr=darin with nits fixed.
Attachment #126870 -
Flags: superreview?(darin) → superreview+
Comment 15•21 years ago
|
||
Comment on attachment 126900 [details] [diff] [review]
fix other implementers
sr=darin
Attachment #126900 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 16•21 years ago
|
||
checked in. Bug 211576 filed for Camino. Bug 211577 filed for the activex
control. Bug 211578 filed for mfcembed.
Cocoa and Powerplant don't seem to show a dialog anyway, so I didn't file a bug.
We don't have a photon component, and I don't know who works on the photon port,
so I didn't file a bug for that.
Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•21 years ago
|
||
*** Bug 222757 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 18•20 years ago
|
||
Bug 285976 filed for firefox.
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•