Closed Bug 192034 Opened 23 years ago Closed 21 years ago

Browser will not refresh updated background images

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: samh1974, Assigned: jdunn)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030202 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030202 Mozilla will not refresh any updated background images, even if I use Shift+Reload. this seems especially true if the background is stated as a style, (as opposed to <body background>). Even closing the browser down does not seem to refresh it. I can't find any way to do this, short of emptying out the disk cache. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Unzip background.zip copy bg1.png to test.png load test.html copy bg2.png to test.png refresh tets.html notice that the background is the same
I'm using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030203 and I also see that Mozilla is not updating the Background.
Stuart, darin, any idea what's up? Is this just an issue with us not propagating the "force reload" flag down to things? For that matter, how _is_ sub-content of a page supposed to know that you're doing a shift-reload?
Component: Browser-General → ImageLib
Probably a dupe of either bug 167514 or of bug 125273 (or possibly both), but neither of those bugs seems to have a testcase that still exists.
> For that matter, how _is_ sub-content of a page supposed to know that you're > doing a shift-reload? via the load group's load flags, which for a shift-reload will contain the LOAD_BYPASS_CACHE flag.
So do those get merged into a channel's load flags automatically when it's added to the loadgroup? Or should people creating the channel do that by hand?
automatically.. see nsLoadGroup::MergeLoadFlags.
Hmm.. Well, background loading certainly gets the document loadgroup.... See http://lxr.mozilla.org/seamonkey/source/layout/base/src/nsImageLoader.cpp#104
bz: oh, hmm.. needs to be debugged then to check what the load group's load flags are and then what load flags image lib actually sets on the HTTP channel (remember: image lib doesn't give the load group to necko!)
http://lxr.mozilla.org/seamonkey/source/modules/libpr0n/src/imgLoader.cpp#241 and http://lxr.mozilla.org/seamonkey/source/modules/libpr0n/src/imgLoader.cpp#297 seem to be dealing with the shift-reload issue.... What do you mean by "give the loadgroup to necko"? ;)
oh sorry.. that's the infamous "problem" of imagelib not assigning a load group to the necko channels it creates. so, you should not see nsHttpChannel::SetLoadGroup getting called. as a result, imagelib has to pretty much duplicate the load flag merging that the load group would otherwise do. (and we have had lots of fun bugs related to load flags not getting merged properly.)
grabbing
Assignee: asa → jdunn
Hi, when i surfe as a registered user at www.hifi-forum.de with netscape 4.7, when I read a thread and press BACK then the thread is shown as READ, with Mozilla 1.4 it is still shown as unread. This seems to be the same problem explained in this bug, I think. A refresh shows the correct image for READ.
QA Contact: asa
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/
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: