Closed Bug 315736 Opened 19 years ago Closed 19 years ago

"You have chosen to open" dialog on known file types

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 185618

People

(Reporter: bzipitidoo, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

Under many circumstances, Firefox brings up the "You have chosen to open" dialog for file types it does know.  The wording and options available in that dialog make it clear it wasn't thought that the mystery file might be a type Firefox CAN view.  Most often occurs (for me) on emails with JPEG attachments in web mail such as mail.yahoo.com.  Even though the Yahoo button says "Download Attachment" I would rather just view it.

Reproducible: Always

Steps to Reproduce:
1. Send email with a JPEG attachment to a Yahoo mail account.
2. From the web mail account, view the attachment.  Details:
2a.  Go to mail.yahoo.com and login to that mail account.
2b.  View the email message sent in step 1.
2c.  In the view of the email message, click on attachment's name (near bottom of message).  Another screen appears:  Yahoo's "Virus Scan Results".
2d.  Click "Download Attachment" button.
Actual Results:  
"You have chosen to open" dialog pops up.

Expected Results:  
What should happen?  One of
1. The attached file is displayed.
2. The "You have chosen to open" dialog has a 3rd option, "() Open with Firefox".
And "Open with Firefox" will not cause infinite recursion as in bug 218257.


Fixing bug 259594 would make this problem less annoying so that on "[Browse...]" the user would not have to fully specify the path name for Firefox.  Bug 57342 is related, but some suggested solutions force the user to figure out whether to open the mystery file as plain text, HTML, JPEG, etc.  Rather have "Open with Firefox" than "Open as ()text ()HTML".
Does Yahoo use content-disposition: attachment?  If so, I think this is a dup of bug 185618.
They do

*** This bug has been marked as a duplicate of 185618 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.