Closed
Bug 29949
Opened 25 years ago
Closed 24 years ago
Crud appears just under the scrollbar thumb (round off error)
Categories
(Core :: XUL, defect, P5)
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: jruderman, Assigned: garyf)
References
Details
(Whiteboard: [nsbeta2+] Have fix testing.)
Attachments
(2 files)
Bug: an extra light-gray line appears just under the part of the scrollbar you drag (the thumb?). I have no reliable way to reproduce this bug, so I'll just toss out a few methods that all seem to work semi-reliably _on my computer and screen size_ : - load the slashdot front page, or a slashdot article with threshold 3, with mozilla maximized. the thumb on the vertical scrollbar should be elongated (taller than a square). force the thumb up and down one page at a time: page- down all the way, then page-up all the way, while watching the bottom of the thumb. - make a long bookmarks list (10 screenfulls long is good) and pgup/pgdn your way through that by clicking in the dark part of the scrollbars. - instead of pguping and pgdning, resize the window one pixel at a time. make sure the thumb isn't all the way at the top or bottom of the scrollbar before you do this. In each case, the extra line goes away as soon as you move the thumb again.
Comment 1•25 years ago
|
||
I can see this sometimes, assigning to evaughan as p5 for m18
Assignee: trudelle → evaughan
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: P3 → P5
Target Milestone: M18
This happens to me too in M14. This only occurs when I click the down arrow or click in the darker area under the thumb to jump a page at a time. (Though I can get it to appear on the right side of my horizontal scrollbar through regular scrolling (drag the "thumb")). I will attach a screenshot. My money is on a rounding problem when calculating the scrollbar thumb height/width.
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
Sometimes the internal image moves without the thumb moving, too. You can see this in the above attachment which shows the results of 4 cursor downs. I don't see the bug when dragging with the mouse, btw.
Comment 7•24 years ago
|
||
I believe this is a basic round off error when converting from twips to pixels in the box code. This really should be fixed for beta2 it happens all over the place.
Status: NEW → ASSIGNED
Summary: Crud appears just under the scrollbar thumb → Crud appears just under the scrollbar thumb (round off error)
Whiteboard: [nsbeta2+]
Target Milestone: M19 → M18
Updated•24 years ago
|
Whiteboard: [nsbeta2+] → [nsbeta2+] round off error
Comment 9•24 years ago
|
||
I have a fix. Currently testing.
Whiteboard: [nsbeta2+] round off error → [nsbeta2+] Have fix testing.
Comment 10•24 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•24 years ago
|
||
verified fixed on mac/linux/win32 builds 20000523 am.
Status: RESOLVED → VERIFIED
Comment 12•24 years ago
|
||
Bummer ... this is showing up again on mac/linux/win32 20000602nn verif. builds Example: load Tinderbox page and hit the down scrollbarbutton. Periodically, a one-pixel grey line will be drawn about 1px below the scrollbar thumb. I don't see this problem in horizontal scrollbars, and I don't see it when scrolling up the page.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•24 years ago
|
||
I'm taking this one.
Assignee: evaughan → garyf
Status: REOPENED → NEW
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•24 years ago
|
||
Fixed in gfx/src/nsTransform2D.cpp Fixed round off error by making nsTransform2D::TransformCoord(x,y,w,h) round the translation values for the scale & translate case in the same way as nsTransform2D::TransformCoord(x,y).
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 15•24 years ago
|
||
verified fixed 20000619am win32/linux/mac comm. builds. Thanks.
Status: RESOLVED → VERIFIED
Comment 16•24 years ago
|
||
Adding keyword to bugs which already show a nsbeta2 triage value in the status whiteboard so the queries don't get screwed up.
Keywords: nsbeta2
You need to log in
before you can comment on or make changes to this bug.
Description
•