Closed Bug 187166 Opened 23 years ago Closed 23 years ago

Square where the scrollbars meet is always gray, not themed

Categories

(Core :: Web Painting, defect)

defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 30579

People

(Reporter: durbacher, Assigned: roc)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021227 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021227 Once a Mozilla window (browser or mailnews) has a vertical *and* a horizontal scrollbar, there appears a gray square near the lower right window corner, right where the scrollbars meet. Its gray color might look ok with the Windows default color scheme, but not with other color schemes. Reproducible: Always Steps to Reproduce: 1. Open browser (or mailnews) 2. Make the Mozilla window get a horizontal and a vertical scrollbar (by loading a document (or mail) that is too wide and too long to be displayed all at once) Actual Results: Near the lower right corner, where the scrollbars meet, there is a (dark) gray square , no matter what Mozilla theme or OS color scheme is currently active. Expected Results: That square's color should depend on Mozilla theme and/or system colors. This gray color is hardcoded in nsViewManager.cpp, line 1116 (http://lxr.mozilla.org/seamonkey/source/view/src/nsViewManager.cpp#1116) and was introduced in its revision 3.160 with bug 39621 as a default background color: " // There are some bits here that aren't going to be completely painted unless we do it now. // XXX Which color should we use for these bits?" However, in the 1.0.x branch this square still appears white (as it did for a long time). Probably this gray is overpainted there... This got changed somewhere after the 1.0 branching, before the first 1.1 builds. Because of the location of the responsible file I chose "Views" as component, but another one might be better suited if it was responsible for overpainting that square and somehow stopped doing so earlier this year... This probably is all/all, but I could not test it.
Attached image Screenshot
Here you easily see how that square is always gray with different color schemes.
confirming on Linux (not GTK2), 2002123005.
-> all/all (as expected) per comment #2
OS: Windows 2000 → All
Hardware: PC → All
*** This bug has been marked as a duplicate of 30579 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v.
Status: RESOLVED → VERIFIED
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: