[Webkit-unassigned] [Bug 28108] Tint of checkboxes/radio buttons/etc. not correctly updated on Chromium/Mac
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 10 15:52:55 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28108
--- Comment #17 from Jeremy Moskovich <playmobil at google.com> 2009-08-10 15:52:52 PDT ---
(From update of attachment 34523)
> +// Updates the control tint (a.k.a. active state) of |cell| (depending on
> +// |RenderTheme::isActive(o)|). This should be called before drawing any
> +// NSCell-derived control, unless you are sure that it isn't needed; in any
> +// case, it won't do any harm. We need to set the control tint explicitly since
> +// we do not give |cell| a parent NSView.
How about something like:
In the Chromium port, the renderer runs as a background process and the
control's NScells lack a parent NSView. Therefore controls don't have their
tint color updated correctly when the Application is activated/deactivated.
FocusController's setActive() is called when the application is
activated/deactivated which causes a repaint at which time this code is called.
This function should be called before drawing any NSCell-derived controls,
unless you're sure it isn't needed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list