Closed Bug 274385 Opened 20 years ago Closed 17 years ago

right click|save image as when in a jpeg document causes download window to open only if performed multiple times.

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.9alpha8

People

(Reporter: OneAndOnlyJackSchitt, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Primarily affects image archive sites which link directly to the image (i.e. url
ends in .jpg and contains the actual binary picture, not an html document).

If the 'Save Image As...' context menu item is executed, the file is added to
the download manager (the manager remains hidden if it was hidden before saving)
and saved.

If multiple files are saved in this fassion without first 'Cleaning up' the
download manager, the download manager becomes visible.

Is this the intended functionality?

Reproducible: Always

Steps to Reproduce:
1. Visit image archive site or other site with many images that are directly
linked to.
2. Click one of the links to open the image (same window, new window, or tab)
3. Right click, 'Save Image as...' and save the image.
4. Do it a couple more times (from step 2)

Actual Results:  
The first time, executing steps 1 through 3 adds the image's file name to the
download manager. Repeting steps 1 through 3 adds multiple items to the download
manager and causes it to become visible.

Expected Results:  
Either add an option to allow the download manager to remain invisible when
saving items that have already been downloaded (i.e. cached images) or show the
download manager after saving the first image.

(It seems to me this has to do specifically with the number of items in the
download manager)

Unfortunatly, I can't provide the URL to an image archive. The one I'm having
problems with is on a private intranet. Google Images may be able to help, though.
This problem occurs quite often.  When a JPEG is loaded, right click->Save Image
As, File->Save Page As, and Ctrl-S (or Apple-S on a Mac) work sporadically.  I
have the same problem under OS X, so I think it's safe to say it applies to all
platforms/OSes.
I wish I had written the version number down, but during early Firefox betas,
when I had "Save all files to this folder" selected, using Ctrl-S (Apple-S on OS
X) to save a JPEG automatically saved it.  At some point, that changed so that
Ctrl-S now pops up the standard save dialog box.  It was this same build that
caused the sporadic saving issues, but wasn't the old behavior correct?  If
"Save all files to this folder" is selected, Ctrl-S should save it there, with
no dialog in the mdidle.
This bug doesn't seem to occur all the time, but here's a random page it does
(for me atleast) occur on:
http://www.classicgaming.com/shmups/reviews/vasara/
QA Contact: ali → download.manager
Assignee: bugs → nobody
We used to have a timer that would not show the download manager if the download happened fast enough.  That was removed by Bug 389982, so this should no longer occur.
Status: NEW → RESOLVED
Closed: 17 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M8
Version: unspecified → Trunk
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.