Closed Bug 504198 Opened 15 years ago Closed 11 years ago

right-click -> "view image" -> save/open dialog

Categories

(Firefox :: General, defect)

4.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jason284, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1) Gecko/20090630 Fedora/3.5-1.fc11 Firefox/3.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1) Gecko/20090630 Fedora/3.5-1.fc11 Firefox/3.5

When I try to view an image (by itself) I get the save/open dialog, instead of the image.

This presumably has something to do with the headers.

I'm  worried that you will reply to this report, by telling me about the headers, and how they tell firefox to do something other than view the image as I have instructed.

I don't care. It's my computer, my software, and I have explicitly requested to view the image. Firefox must do what I say, not what the web server says.

Firefox must remember what I have requested, and do it. It is clearly possible.

Reproducible: Always

Steps to Reproduce:
This only works on some images. The image I found this on was in a gmail message as an _inline_ image attachment. Here's the headers:

Content-Disposition: inline;
	filename=oldpsdhome.jpg
Content-Transfer-Encoding: base64
Content-Type: image/jpeg;
	x-unix-mode=0644;
	name="oldpsdhome.jpg"

I have not been able to get the HTTP headers that result in a fetch request for this image, since tools like wget, which show the headers, are not logged into my gmail.

1. Log into gmail
2. view an e-mail with a (small) inline image (NOT one with a thumbnail and the view/download button, it doesn't bug on those)
3. right-click and select "view image"
Actual Results:  
save/open dialog opens

Expected Results:  
I see the image by itself in the current tab

In my opinion, Firefox should not be making an internet request when I select "view image" at all ever. The image is clearly on my computer already, or it could not be on the screen. When I click "view image" I don't want to see some (possibly different) image that I get from downloading again, I want to see what I just clicked on.

This is a symptom of a larger issue I have with Firefox. When I "save" or "print" or "view", I mean to save/print/view what I see on the screen, and do not under any circumstances want Firefox to try to re-download first. re-downloading is always slow, and sometimes results it totally the wrong document, for example if I try to print my PayPal receipt after my session has expired.
I can confirm this happens, most annoyingly for me on TwitPic.
I confirm this too. But it doesn't happen all the time (I guess it might be site-specific). I think it happens with all image types too, so no specific extension.
Why is there content handler's in my firefox's options for handling images which should be natively displayed in the browser by default?
Version: unspecified → 3.5 Branch
Reporter, Firefox 4.0.1 has been released, and it features significant improvements over previous releases. Can you please update to Firefox 4.0.1 or later, and retest your bug? Please also create a fresh profile (
http://support.mozilla.com/kb/Managing+profiles), update your plugins (Flash, Java, Quicktime, Reader, etc) and update your graphics driver and Operating system to the latest versions available. 

If you still continue to see this issue, please comment. If you do not, please close this bug as RESOLVED > WORKSFORME

filter: prefirefox4uncobugs
I upgraded to FF 4.0.1 and the behavior persists, right clicking on some images, like the reporter mentions above, in a gmail message produces the "Open With / Save As" dialog instead of loading the picture in the same tab. It IS being recognized as an image in the media dialog.
Version: 3.5 Branch → 4.0 Branch
Behavior still present in FF5
Can you still reproduce this issue on current Firefox versions?
Flags: needinfo?(jason284)
I can't figure out how to reproduce this anymore. I tried making an inline attachment and sending it to myself. Not sure I did that right.

If somebody can figure out how to reproduce this (hopefully some easier way than having a special e-mail in your gmail) they can re-open this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(jason284)
Resolution: --- → WORKSFORME
Two points:

1) The issue has gone away, I've not encountered it in ages.
2) I stopped upgrading at 12.

The is close-able, unless it reproduces as follows:

On an image at a website, you right click the image, and either show image or show image in a new tab, and you get prompted with the download dialog.

That is possible if the website serving the image calls it something that Firefox's mime handler says "Download this." Say like the website headers for the packet say "executable".

Might want to play with an apache install and tinker with the mime handler.
You need to log in before you can comment on or make changes to this bug.