Closed
Bug 92248
Opened 23 years ago
Closed 23 years ago
Flickering images on mouseover
Categories
(Core :: Graphics: ImageLib, defect, P2)
Core
Graphics: ImageLib
Tracking
()
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: markushuebner, Assigned: pavlov)
References
()
Details
(4 keywords, Whiteboard: [PDT-], [ETA 10/3] has r= and sr=. needs a= branch.)
Attachments
(2 files, 4 obsolete files)
12.96 KB,
application/octet-stream
|
Details | |
37.63 KB,
patch
|
mscott
:
review+
attinasi
:
superreview+
|
Details | Diff | Splinter Review |
Just go to http://www.payplus.at/footer.asp and move the mouse over on of the pics ... they are flickering
Reporter | ||
Comment 1•23 years ago
|
||
Another testcase at http://www.world-direct.com/mozilla/footer.htm There everything looks fine.
Keywords: mozilla0.9.4,
regression
Reporter | ||
Comment 2•23 years ago
|
||
using build 2001072403 the page looks fine in MSIE, NS4X and Opera. This is a standard JavaScript feature used virtually on every website. So this should be looked at quite soon.
Severity: normal → major
Keywords: 4xp
Comment 6•23 years ago
|
||
Over to imagelib.
Assignee: jst → pavlov
Component: DOM Level 0 → ImageLib
QA Contact: desale → tpreston
Comment 8•23 years ago
|
||
Taken from my dupe of this bug (93368) - this page is an extreme example of this bug: New testcase: http://orange.net.au on linux 0.9.3 OS should be changed to all.
Reporter | ||
Comment 9•23 years ago
|
||
Changing to "All". Adding "nsCatFood" since this is very annoying on web-sites.
Keywords: nsCatFood
Reporter | ||
Comment 10•23 years ago
|
||
Discovered that the flickering testcase has the used JavaScript function in an external file and the one working has the function inside the HTML file. Can this cause this effect?!
OS: Windows 2000 → All
Hardware: PC → All
Reporter | ||
Comment 11•23 years ago
|
||
the bug on the homepage of Sapient - one of the biggest web agencies in the world - http://www.sapient.com move the mouse over one of the pictures on the right hand side
Severity: major → critical
Reporter | ||
Comment 12•23 years ago
|
||
Go to http://www.world-direct.com/miss-tirol/index.asp?ueber and move the mouse over the left top items. It's really terrible!
Comment 13•23 years ago
|
||
This is not only gifs. The URL http://www.jvp.or.at/steyr/ has pngs (left frame) and shows this as well. Changing summary for that.
Summary: Flickering GIFs on mouseover → Flickering images on mouseover
Comment 14•23 years ago
|
||
what the reporter means is, when you onmouseover over the images, the image is replaced with box (temp placeholder) while it waits for the new image to be downloaded. Other browsers keep the old image shown until the new one has been fully fetched. Not sure if this is a Imagelib issue or a DOM issue...
Severity: critical → major
Comment 15•23 years ago
|
||
No, it seems not only to be the temp placeholder. I experienced in my case that all the images were loaded again and again via the network when mousing over. Shouldn't they be in the cache after the first time (I have it enabled)?
Assignee | ||
Comment 16•23 years ago
|
||
aceepting for 0.9.5.. P2
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.5
Comment 17•23 years ago
|
||
http://www.payplus.at/footer.asp - yes, I see network activity when mousing over them, seems that they are not cached
Reporter | ||
Comment 18•23 years ago
|
||
can this somehow be fixed?! It's no good reputation to have such an obvious bug in a release at this time.
Comment 19•23 years ago
|
||
Is this the same bug that is causing my forward, back, reload, and stop buttons in the chrome to flicker when I mouseover them?
Reporter | ||
Comment 20•23 years ago
|
||
think so!
Comment 21•23 years ago
|
||
The toolbar buttons flicker if you have cache set to 0 or off. If you turn it on, it will work. That's another bug, in bugzilla, already filed though.
Reporter | ||
Comment 22•23 years ago
|
||
Bug occuring on major sites. Updating keywords.
Comment 23•23 years ago
|
||
at http://www.payplus.at/footer.asp a GET is issued for each mouseover and another for each mouseout. I have cache enabled and set to compare "Automatically". For each GET there's also a cookie to WEBTRENDS exchanged. I see the exact same behaviour in Netscape 4.77, it's just performing the same task a little faster, and with noticable disk rattling. If i should guess, i would have thought this was by design, created as a hit-generator? Attaching dump from ethereal 0.8.18 (ethereal/tcpdump format)
Comment 24•23 years ago
|
||
Comment 25•23 years ago
|
||
made a testcase at http://home.c2i.net/dark/test/92248.html The GET request for images are still triggered on each mouseover. But the cookie request doesn't happen. On a P3/500 the images now load instantly, even if new GET's are issues all the time. So the slowness seems to be in the cookie responses from server, preventing images to load before the entire cookie content is aboard. I tested other URL's mentioned here, and i do not see this bug at any other sites than those belonging to reporter: http://www.payplus.at/footper.asp and http://www.world-direct.com/miss-tirol/index.asp?ueber There is no extranous GET's and no visible lag at http://www.sapient.com which is mentioned somewhere in this bug.
Comment 26•23 years ago
|
||
*** Bug 99051 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 27•23 years ago
|
||
R.K.Aa just4info ... see also the comments in bug 99051. And using build 2001091003 on win2k still see the flickering on www.sapient.com
Comment 28•23 years ago
|
||
I believe there are two completely different issues here. The original bug is a networking cookie performance issue as far as i can tell, where mozilla doesn't handle a "cookie flood" very well. That bug i do see, but try the testcase i made, same images and scripts without cookies. The mousein/out slowness at sapient.com i do not see on linux, and a tcpdump shows no network traffic when continuing to mouse over the images.
Assignee | ||
Updated•23 years ago
|
Reporter | ||
Comment 29•23 years ago
|
||
also seen on Bang & Olufsen website direct link - http://www.bang-olufsen.com/top7.php just move over "Family Beoadvisor News ..."
Comment 30•23 years ago
|
||
Adding correctness Status Whiteboard, correct/expected behavior does not occur.
Whiteboard: [correctness]
Comment 31•23 years ago
|
||
There's a theory that this is cookie related. Has anyone done follow up on that? With no patch available, this has almost missed the next release already. Please update the bug with your progress. It's almost too late for this one, but I'd like to hear where you're at first...
Whiteboard: [correctness] → [correctness] need info
Reporter | ||
Comment 32•23 years ago
|
||
Pavlov is working on it! We really need to get this one into the next release since this already caused major inconveniences/usability problems in 0.9.4 Pavlov - what's the current status?
Comment 33•23 years ago
|
||
When did this regress?
Comment 34•23 years ago
|
||
terri - can you check in Netscape 6.1 to see if this problem occurred in that version? Thanks.
Comment 35•23 years ago
|
||
I see that this bug doesn't happen in some of the links mentioned any more, for example, with today's build, Sapient's home page doesn't have any problem. Using Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20010924 Netscape6/6.2 Pavlov, can you give us status on it?
Reporter | ||
Comment 36•23 years ago
|
||
Just tried all testcases - the bug is still there. Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4+) Gecko/20010925 On Sapient.com the images on the right hand side flicker as well as the red ones (right from the sapient logo) [what we do | industries ...]. Testing with Netscape 6.1 the sapient site works and the flickering on the other ones is much less. So regression must be happened somewhere after it.
Comment 37•23 years ago
|
||
Can you try and get us an ETA by the end of today?
Summary: Flickering images on mouseover → Flickering images on mouseover, [PDT], [ETA ?]
Assignee | ||
Updated•23 years ago
|
Summary: Flickering images on mouseover, [PDT], [ETA ?] → Flickering images on mouseover, [PDT], [ETA 9/28]
Assignee | ||
Updated•23 years ago
|
Summary: Flickering images on mouseover, [PDT], [ETA 9/28] → Flickering images on mouseover
Whiteboard: [correctness] need info → [PDT], [ETA 9/28]
Assignee | ||
Comment 38•23 years ago
|
||
Assignee | ||
Comment 39•23 years ago
|
||
Comment on attachment 51012 [details] [diff] [review] First pass here's the first pass patch for this bug. it fixes flickering, but seems to slow down mouseovers. images don't always load :)
Attachment #51012 -
Flags: needs-work+
Assignee | ||
Comment 40•23 years ago
|
||
Assignee | ||
Comment 41•23 years ago
|
||
ok, this patch seems to be slightly better. images no longer disapear and things don't seem to be much slower.. things that are probably still broken: changing to/from animated images changing to/from different sized images
Assignee | ||
Updated•23 years ago
|
Attachment #51012 -
Attachment is obsolete: true
Comment 42•23 years ago
|
||
> changing to/from animated images Isn't this part bug 17126?
Assignee | ||
Comment 43•23 years ago
|
||
sigh. pushing ETA off to 10/1. This is requiring more changes that I had anticipated.
Whiteboard: [PDT], [ETA 9/28] → [PDT], [ETA 10/1]
Assignee | ||
Updated•23 years ago
|
Whiteboard: [PDT], [ETA 10/1] → [PDT], [ETA 10/3]
Comment 44•23 years ago
|
||
what are the chances this will make the trunk?
Assignee | ||
Comment 45•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Attachment #51021 -
Attachment is obsolete: true
Assignee | ||
Comment 46•23 years ago
|
||
Ok, what this ptach does: Basically, the image frame now stores an array of 3 image requests so that it can easily swap one out for another. This allows the code to kick off 3 loads (1st being the main image.. what will be displayed, 2nd the lowsrc image, and 3rd being any image load that results from a src attribute changed). Previously, the code would remove the main image when it wanted to load a new image for an attribute change. So what now happens is the main image will remain in place until the new image is complete, at which point they will be swapped out. this will either result in a reflow or invalidate of the frame depending on if the size of the frame is fixed or not.
Comment 47•23 years ago
|
||
- In imgLoader.cpp: + if (_retval) { + ... AFAIK this is not XPCOM-cool, I'd suggest you require callers to pass in a valid out pointer, i.e. a dummy even if they don't care about the return value from this method. That would be much cleaner IMO. - In nsImageFrame::OnStartContainer(): + int whichLoad = GetImageLoad(aRequest); + struct ImageLoad *load= &mLoads[whichLoad]; GetImageLoad() will return -1 if aRequest is not one of the 3 loads in the image frame, either check for -1, or make GetImageLoad() always return a valid number... - Missing == in: + if (whichLoad -1) return NS_ERROR_FAILURE; With that fixed, r/sr=jst
In nsImageFrame.cpp, + // XXX this is wrong. don't let me check this in. + mLoads[0].mTransform.TransformCoord(&r.x, &r.y, &r.width, &r.height); ?
Assignee | ||
Comment 49•23 years ago
|
||
ok, fixed jst's comment and removed the line stephend pointed out.. the code around the comment I fixed just prior to the patch.
Comment 50•23 years ago
|
||
Comment on attachment 51972 [details] [diff] [review] Patch to solve problem (diffed against 0.9.4 branch) r=bryner (and adding jst's sr=)
Attachment #51972 -
Flags: superreview+
Attachment #51972 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Keywords: patch
Whiteboard: [PDT], [ETA 10/3] → [PDT], [ETA 10/3] has r= and sr=. needs a= for trunk and branch.
Comment 51•23 years ago
|
||
Is this the same as bug 86071?
Comment 52•23 years ago
|
||
can we talk about this one in the PDT today?
Comment 53•23 years ago
|
||
let's let it sit on the trunk for a day, and land this over the weekend on the branch (if there are no problems).
Whiteboard: [PDT], [ETA 10/3] has r= and sr=. needs a= for trunk and branch. → [PDT+], [ETA 10/3] has r= and sr=. needs a= for trunk and branch.
Comment 54•23 years ago
|
||
Good Grief! This is _so_ not a stop-ship bug. Nor is its dependent. Furthermore, now is a horrible time to bake anything on the trunk: we're trying to shut down mozilla-0.9.5 so we can re-open the trunk next week and get on with life. If you really want this fix, then get a shippable candidate for NS6.2 and put this in as a ``limbo'' checkin afterwards.
Assignee | ||
Comment 55•23 years ago
|
||
checked in on trunk.
Keywords: vtrunk
Whiteboard: [PDT+], [ETA 10/3] has r= and sr=. needs a= for trunk and branch. → [PDT+], [ETA 10/3] has r= and sr=. needs a= branch.
Comment 56•23 years ago
|
||
Did this checkin just stop all non-background images from loading? (Linux, CVS-HEAD at time of writing.)
Assignee | ||
Comment 57•23 years ago
|
||
If you have an opt build, you need to run regxpcom.
Comment 58•23 years ago
|
||
Perfect -- thank you.
Comment 59•23 years ago
|
||
could this be causing bug 103477?
Comment 60•23 years ago
|
||
*** Bug 103558 has been marked as a duplicate of this bug. ***
Comment 61•23 years ago
|
||
I reopened bug 103558 as it seems it has another, related feature: The onMouseOver graphics are now cached *every time* they are used, even with once-per-session cache setting.
Comment 62•23 years ago
|
||
It is a little late for this one = PDT- :-(
Whiteboard: [PDT+], [ETA 10/3] has r= and sr=. needs a= branch. → [PDT-], [ETA 10/3] has r= and sr=. needs a= branch.
Reporter | ||
Comment 63•23 years ago
|
||
This is probably the most obvious bug of mozilla right now, as it is seen on nearly every website (quite all have some kind of mouseover effect). If somehow this can make it, this would be a major step forward concerning convenience/usability.
Comment 64•23 years ago
|
||
we would have liked to take it, but it is too risky to take at time.
Comment 65•23 years ago
|
||
Looks to me like this has been fixed (since Stuart's check-in on October 5).
Reporter | ||
Comment 66•23 years ago
|
||
[as outlined in my mail pavlov] concerning the current fix for this: take for example http://studio.adobe.com/resources/main.html in the top navigation you must leave the cursor for at least a second over the image to see the mouse-over effect. that's unfortunately way to long. it also happens that there are several items highlighted. what I discovered ... everything on site A is real slow ... then going to site B ... surfing a bit around ... going back to site A and now everything is completely fine! :)
Comment 67•23 years ago
|
||
On the branch 094, the mouseovers appear ok, but if the user presses reload, the user will see the white box on mouseover.
Comment 68•23 years ago
|
||
0.9.5 is out the door. bumping TM up by one.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 69•23 years ago
|
||
If this helps... the flicker I have seen is on the sidebar mouseovers using at 24 bit colors. At 32 bit color depths, there is no flicker and mouseovers seeem to work correctly... at least for me...
Comment 70•23 years ago
|
||
Wow - when I look at today's 0.9.4 branch with modern skin on mac - when I rollover the sidebar tabs, they flicker like mad. Each time I mouse over them the image is replaced by a blank image for a moment then the image loads - for each tab! This seems to be quite a visible problem and still exists on the branch.
Comment 71•23 years ago
|
||
seems to me that the original bug that was reported for this bug # was fixed with build 2001101603 win32 all these wfm: http://www.sapient.com/default.htm http://www.world-direct.com/miss-tirol/index.asp?ueber http://www.jvp.or.at/steyr/ http://home.c2i.net/dark/test/92248.html http://www.bang-olufsen.com/top7.php http://studio.adobe.com/resources/main.html As for the sidebar tabs, would that be considered a different bug?
Comment 72•23 years ago
|
||
basic: this is fixed on the trunk, but it is not fixed in 0.9.4 branch, and I (and it seems also others) still think it should be included in NS6.2 release because it would piss some/many users off to see such an ugly thing... andreww: I also saw the bug occurring on fast mouseovers on toolbar buttons in modern, when it still wasn't fixed on the trunk. Now that it is fixed, everything looks smooth again. And the patch does work really good, as the trunk showed...
Comment 73•23 years ago
|
||
why is this a mozilla0.9.6 ? it is fixed on the trunk right?
Reporter | ||
Comment 74•23 years ago
|
||
To ship NS6.2 with this bug will cause some major usability problems and inconveniences among users and web-developers. Anway, it's important to return to the "normal (speedy) onmouseover behaviour" as it's seen with NS4.X, MSIE, etc. Just see my comment from 2001-10-11.
Comment 75•23 years ago
|
||
*** Bug 86071 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 76•23 years ago
|
||
i'm marking this fixed. it is clear to me that this isn't wanted on the 0.9.4 branch.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 77•23 years ago
|
||
*** Bug 107879 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 78•23 years ago
|
||
Think this one should not have status "fixed" since the used behaviour isn't restored. Please see my comments about the long time delay causing major usability problems - since some users won't see the onmouseover effect at all if it takes that long. Pavlov, do you know what causes this delay and when this will be fixed?
Comment 79•23 years ago
|
||
I agree that it should not be marked as 'fixed'. As an example, go to The Register (http://www.theregister.co.uk/) and mouse over the menu in the top right corner. The menu items are supposed to flash black when the mouse is over them (try it in any other, non gecko-based browser), but in Moz they react very slowly. This gives an impression of a slow browser... While you and I know it isn't, many people won't know this and judge Mozilla on this behaviour...
Comment 81•23 years ago
|
||
Markus: please file a new bug for the delay, the flicker problem is fixed. Oh and mention the new bug # here too ;-)
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 82•23 years ago
|
||
The delay you are seeing is probably bug 93461
Reporter | ||
Comment 83•23 years ago
|
||
Filed a new bug about the delay problem - bug 108161
Comment 85•23 years ago
|
||
asa, can you request that the 0.9.6 rel notes include some text suggesting testing around this?
Comment 86•23 years ago
|
||
Judson: For the Release Notes, you may wish to write up a draft-request in a comment for bug 104896.
Comment 87•23 years ago
|
||
Another example: http://www.thewb.com (and its sub pages).
Comment 88•23 years ago
|
||
at http://www.thewb.com it here (Linux 2001103021, P3/500) only happens the first time. Once the new picture is loaded, it seems to be cached and pretty fast. So the problem here is mainly loading the pictures when the rest of the page is loaded. A perfect solution would be to load it just after the rest of the page is loaded, so users with slow connections see the visible page loading as fast as possible but still don't see the delay when moving the mouse over the menu (given that he does it after the page is fully loaded).
Comment 89•23 years ago
|
||
at http://www.thewb.com it here (Linux 2001103021, P3/500) only happens the first time. Once the new picture is loaded, it seems to be cached and pretty fast. So the problem here is mainly loading the pictures when the rest of the page is loaded. A perfect solution would be to load it just after the rest of the page is loaded, so users with slow connections see the visible page loading as fast as possible but still don't see the delay when moving the mouse over the menu (given that he does it after the page is fully loaded). Anyway, I guess this is a different bug. Was it already filed? Has someone a bug number?
Comment 90•23 years ago
|
||
Another important site, which happens even after the first time the images have been rolled over: http://www.sony.com/
Comment 91•23 years ago
|
||
On my linux build 2001110712 the images do NOT flicker anymore. The slow mouse-over effect is still there, but the flickering seems to be gone. Here, that is...
Reporter | ||
Comment 92•23 years ago
|
||
Also seeing the "first time flicker" on www.sony.com using build 2001110803 (win2k)
Comment 93•23 years ago
|
||
How about this--mouseover left nav links. Look like the same bug? http://commerce.www.ibm.com/content/home/shop_ShopIBM/en_US/athome_promotions.html
Reporter | ||
Comment 94•23 years ago
|
||
Can't see any images on the left navigation. Just a "hoover-effect" working fine so far. build 2001111203
Comment 95•23 years ago
|
||
Terri, To plus (+) this for 094 we need to have the bugg verified on the trunk.
Comment 96•23 years ago
|
||
Verified fixed win XP 2001112903, linux build 2001112908 and mac build 2001112806
Status: RESOLVED → VERIFIED
Comment 97•23 years ago
|
||
EDT - Pav you can go ahead and put this on the branch. Terri - were you able to find any regressions on any 0.9.6 bugs?
Comment 98•23 years ago
|
||
Not that I know of, let me know if you have particular bugs you think have regressed
Assignee | ||
Comment 99•23 years ago
|
||
sigh. you ask this *the day* after i remove this from my branch build. I'll see what I can do.. there is going to have to be a lot of work to get this merged back to the branch now... :(
Assignee | ||
Comment 100•23 years ago
|
||
here is a new patch against the branch.. its missing modules/libpr0n/public/ImageErrors.h so copy it from the trunk if you want to build with this. for some reason, images arn't painting when they need to be exposed... i'm trying to figure this out...
Attachment #51972 -
Attachment is obsolete: true
Assignee | ||
Comment 101•23 years ago
|
||
Here is a working patch. The bug was an error I had made when merging: I had: inner.IntersectRect(inner, aDirtyRect); + nsPoint p(inner.x, inner.y); instead of + nsPoint p(inner.x, inner.y); inner.IntersectRect(inner, aDirtyRect); so the point was wrong :-)
Attachment #60604 -
Attachment is obsolete: true
Comment 102•23 years ago
|
||
Comment on attachment 60718 [details] [diff] [review] Working patch against the 0.9.4 branch sr=attinasi
Attachment #60718 -
Flags: superreview+
Comment 103•23 years ago
|
||
please checkin to 0.9.4 branch. once there, add "fixed0.9.4" to the keyword field. thanks for all the sweat for back port; we owe you.
Comment 104•23 years ago
|
||
Comment on attachment 60718 [details] [diff] [review] Working patch against the 0.9.4 branch r=mscott
Attachment #60718 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Keywords: fixed0.9.4
Comment 105•23 years ago
|
||
Another site: http://kraft.promotions.com/holidaywishes/ (Marked it topembed as it's very prolific; even though it's cosmetic it really degrades the expected user experience.)
Keywords: topembed
Comment 106•23 years ago
|
||
A couple more examples (partners): http://www.videoprofessor.com/ (left nav) http://www.cw.com (nav buttons in middle of page)
Comment 107•23 years ago
|
||
Also occurs on Ofoto.com (click Quick Tour then mouseover tabs)
Keywords: fixed0.9.4
You need to log in
before you can comment on or make changes to this bug.
Description
•