Closed Bug 296849 Opened 20 years ago Closed 20 years ago

[BEOS] nsWindow::SetForegroundColor calls nsBaseWidget::SetBackgroundColor

Categories

(Core Graveyard :: Widget: BeOS, defect)

x86
BeOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 298171

People

(Reporter: thesuckiestemail, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.8b2) Gecko/20050604 Firefox/1.0+
Build Identifier: 

nsWindow::SetForegroundColor calls nsBaseWidget::SetBackgroundColor while it
should call SetForegroundColor.

Reproducible: Always
r?
Attachment #185480 - Flags: review?(sergei_d)
Looks obvious, but i should check first result of those calls in GFX - is it
SetViewColor or SetHightColor or SetLowColor, and what it should be actually:)
Comment on attachment 185480 [details] [diff] [review]
calls SetForegroundColor instead

r=sergei_d
Searched through LXR.
It seems there is now use for those color set methods outside widget-internal
"doing nothing".
or like that
http://lxr.mozilla.org/seamonkey/source/widget/src/mac/nsWindow.cpp#358
which is also "internal".
Attachment #185480 - Flags: review?(sergei_d) → review+
Blocks: 266252
Moved this code into bug 298171 as I wanted to change viewcolor-handling to
improve scrolling and reduce the need to apply different patches.

*** This bug has been marked as a duplicate of 298171 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: