Closed Bug 294589 Opened 20 years ago Closed 18 years ago

After saving an image, URL in URLbar sometimes gets replaced by "chrome" URL of download manager

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tonymec, Unassigned)

Details

(Whiteboard: CLOSEME - 05/11)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4

After doing "Save image as..." the contents of the URL bar are sometimes
replaced by the value chrome://downloadmgr/content/downloadtab.xul which
corresponds to the download manager. The contents of the window are however OK.

Reproducible: Sometimes

Steps to Reproduce:
1. Browse to a page with a large picture in it.
2. Click right on the picture.
3. Select "Save Image As...". A file dialog appears.
4. Click "Save".
Actual Results:  
The contents of the URL bar were replaced by
"chrome://downloadmgr/content/downloadtab.xul" (without quotes), i.e., by the
"chrome" URL of the download manager.

Expected Results:  
URL bar shouldn't have changed, still showing the URL of the HTML page
containing the image just saved.

I'll attach a screenshot when I come back to the bug after filling out this form.

This is an intermittent bug: it doesn't appear every time. I believe that it
appears more often when saving large images.
I suspect a race condition.

When I use the "Save Image As..." dialog, one of the following can happen:
(a) The contents of the download manager flash by for a fraction of a second,
temporarily replacing the current page contents. Contents and URL of the page
are restored. (Bug is not manifested)
(b) The favicon of the download manager (on a different tab) is replaced by the
throbber for some time (let's say on the order of 1 second) but the currently
displayed page stays put. URL of the current tab may be replaced by chrome URL
of download manager (expressing the bug).
(c) The favicon of the download manager (on a different tab) is replaced by
itself so fast that I don't recognise a throbber in its stead. Bug is not
manifested.

I'm not sure, but I suspect the timing of loading the image from cache or from
the net may have an influence on which one happens among (a), (b) and (c) above.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050527
Firefox/1.0.4

With the JavaScript console on, "Save Image As" gives the following errors:

Error: Components is not defined
Source File: chrome://downloadmgr/content/browser.js              Line: 313
(6 times), then
Error: aContent has no properties
Source File: chrome://downloadmgr/content/downloadtab.xml         Line: 282
(twice).

The image is saved and the page contents stay the same, but the Location Bar is
changed to chrome://downloadmgr/content/downloadtab.xul
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
(In reply to comment #4)
> This is an automated message, with ID "auto-resolve01".
> 
> This bug has had no comments for a long time. Statistically, we have found 
that
> bug reports that have not been confirmed by a second user after three months 
are
> highly unlikely to be the source of a fix to the code.
> 
> While your input is very important to us, our resources are limited and so we
> are asking for your help in focussing our efforts. If you can still reproduce
> this problem in the latest version of the product (see below for how to obtain 
a
> copy) or, for feature requests, if it's not present in the latest version and
> you still believe we should implement it, please visit the URL of this bug
> (given at the top of this mail) and add a comment to that effect, giving more
> reproduction information if you have it.
> 
> If it is not a problem any longer, you need take no action. If this bug is not
> changed in any way in the next two weeks, it will be automatically resolved.
> Thank you for your help in this matter.
> 
> The latest beta releases can be obtained from:
> Firefox:     http://www.mozilla.org/projects/firefox/
> Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.
html
> Seamonkey:   http://www.mozilla.org/projects/seamonkey/
> 

Sorry, I'm not using Firefox at the moment because some extensions have stopped 
functioning properly (acting at cross-purposes I guess; until I can investigate 
the matter I'm using Opera) and also because of the memory bugs 174604, 249469, 
268138, etc. If someone else sees this bug, please comment.
Tony, are you able to reproduce this bug using Firefox 2.0.0.3 or later with a clean profile? There's a good chance that this bug was caused by an extension.

http://kb.mozillazine.org/Profile_Manager 
Whiteboard: CLOSEME - 05/11
(In reply to comment #6)
> Tony, are you able to reproduce this bug using Firefox 2.0.0.3 or later with a
> clean profile? There's a good chance that this bug was caused by an extension.
> 
> http://kb.mozillazine.org/Profile_Manager 
> 

Sorry, I'm on Linux now, and I haven't seen this bug anytime recently. Looks like it never was "systematic" anyway.

=> WFM. "Anyone sees it, please reopen."
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: