Closed
Bug 43943
Opened 25 years ago
Closed 24 years ago
This page scrolls slowly
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
VERIFIED
WONTFIX
Future
People
(Reporter: neil, Assigned: dcone)
References
()
Details
(Keywords: arch, perf, Whiteboard: [nsbeta3-])
Attachments
(2 files)
This page scrolls slowly in both Nav6 PR 1 and Moz 2000062608
Sorry for not creating a minimal test case.
I don't see this behavior on Win98 using build 062508. Perhaps an NT video
driver problem?
Comment 2•25 years ago
|
||
Same for me with 061820 on Win98, it "scrolls" about 3 steps per second. Very
fast (normal) scrolling with NS 4.72 and IE 5.0.
Reporter | ||
Comment 3•25 years ago
|
||
Trying it on another computer, it seems to be scrolling somewhat normally. One
click of the mouse wheel and it scrolls the entire page (But thats another bug).
I think its safe to say this was a false alarm.
Reproduced on 2000070508 Win2000, also reproduced in NT4 running in VMware/Linux.
Seems to be an NT-only bug.
need simple testcase + determine proper component.
Comment 6•25 years ago
|
||
It is clearly slow to scroll - and my NT box makes some VM-noise when scrolling
too. It is the background image: remove it and the scrolling is brilliant.
The image is 5 X 8000 pixels, and it is a GIF, so if this is a bug it should
probably go to the imagelib... I'm guessing it is since IE and Nav scroll just
fine with the GIF background.
I'll attach a local copy of the page since it is easier to cut-up that way.
Component: Layout → ImageLib
Comment 7•25 years ago
|
||
Comment 8•25 years ago
|
||
Page is scrolling slowly when the background image is used. Uncomment out the
style rule in the attached copy of the page to set the background to none and it
scrolls very fast. Possibly a problem with GIF images of large size?
Assignee: pierre → pnunn
QA Contact: petersen → elig
It seems like MOST pages with background images (not just GIFs) are somewhat or
much slower than pages without them. Yet the speed of these pages in IE 5.0,
Opera 4.0, and Navigator 4.x is just fine.
Some other examples:
http://www.nasa.gov
http://samandmax.mixnmojo.com/purcellinterview.html
Even a page with a moderately sized background image is somewhat slower..
http://www.w3.org/TR/REC-CSS2
Everything should scroll as fast as http://www.mozilla.org does right now.
Comment 10•25 years ago
|
||
Don:
this sounds like a tiling issue....want to take a look?
-p
Assignee: pnunn → dcone
Comment 11•25 years ago
|
||
*** Bug 45538 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 12•25 years ago
|
||
I can fix this only for NT using the PatBlt code path of background tiling, this
will not work for win98 or win95 because the PatBlt call can only be used for
small tile sizes (smaller than 8x8 pixels). I will check in the fix when after
beta2.
Status: NEW → ASSIGNED
Whiteboard: Have Fix in tree.
Assignee | ||
Updated•25 years ago
|
Target Milestone: --- → M17
Assignee | ||
Comment 13•25 years ago
|
||
Index: nsRenderingContextWin.cpp
===================================================================
RCS file: /cvsroot/mozilla/gfx/src/windows/nsRenderingContextWin.cpp,v
retrieving revision 3.118
Patch for fast background rendering on windows NT
diff -r3.118 nsRenderingContextWin.cpp
2876c2876
< return PR_FALSE;
---
> return PR_TRUE;
Comment 14•25 years ago
|
||
Hello,
This page scrolls just fine.
OS: Win98
Build: 2000072108
Skin: Cool Blue
I did notice slow scrolling in Modern skin, but not Cool Blue. Have you tried
using Classic?
Comment 16•25 years ago
|
||
Marked nsbeta3+
Comment 17•25 years ago
|
||
http://63.76.44.234/moztest/
is a little test case that illustrates this bug
Comment 18•25 years ago
|
||
*** Bug 48001 has been marked as a duplicate of this bug. ***
Comment 19•25 years ago
|
||
*** Bug 47766 has been marked as a duplicate of this bug. ***
Comment 20•25 years ago
|
||
Is the slow scrolling on http://whirlpool.net.au/ related to this?
Assignee | ||
Comment 21•25 years ago
|
||
These images are very large.. so when it scrolls the entire image gets copied
many many times. This can be fixed by limiting the damage rect when scrolling
occurs.. but there is another bug that was fixed by bliting the entire image
everytime for a background tiling bug Mark Attinasi did. This is a duplicate of
that bug.. which I have to find the number for. Anyway.. this probably will not
be fixed for this version because to fix that bug we need to do an API change..
and that would be risky.
Whiteboard: [nsbeta3+]Have Fix in tree. → [nsbeta3-]
Target Milestone: M17 → Future
Comment 22•25 years ago
|
||
This occurs with inline images as well. See
http://www.wadsack-allen.com/~jwadsack/test1.html on WinNT (M17). When scrolling
down the scroll is fine, scroll back up and it shakes when the image comes to
the visible region.
Assignee | ||
Comment 23•25 years ago
|
||
This bug is caused by bug 41134. When 41134 is fixed this will go away.
*** This bug has been marked as a duplicate of 41134 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 24•25 years ago
|
||
not a dupe, but rather a depend, reopening and marking depend on 41134
Comment 26•24 years ago
|
||
Comment 27•24 years ago
|
||
I just added a minimal test case to flex this bug. Interesting note: it only
occurs for background images that are transparent PNGs. Also specified a BASE
HREF to load images off my site. The attachment already contains commented out
lines for opaque PNG, and opaque GIF and transparent GIF.
Updated•24 years ago
|
QA Contact: elig → tpreston
Assignee | ||
Updated•24 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 28•24 years ago
|
||
Some types of backgrounds scroll slowly.. and this can not be helped.. some
types of transparency (like 8 bit transparent images), 256 color images, etc,
etc. The case you mentioned is one of those.
You need to log in
before you can comment on or make changes to this bug.
Description
•