[Webkit-unassigned] [Bug 151533] New: [GTK] RenderThemeGtk::platformActiveSelectionBackgroundColor, et. al. should not clobber state of cached GtkStyleContexts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 21 11:27:59 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151533

            Bug ID: 151533
           Summary: [GTK]
                    RenderThemeGtk::platformActiveSelectionBackgroundColor
                    , et. al. should not clobber state of cached
                    GtkStyleContexts
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org

platformActiveSelectionBackgroundColor(), platformInactiveSelectionBackgroundColor(), etc. are const functions intended only to return a color used for painting, but they also change the state of the cached GtkStyleContexts we use for GTK_TYPE_ENTRY and GTK_TYPE_TREE_VIEW. This could cause theme colors returned by those GtkStyleContexts to change unexpectedly.

At first I thought this was a regression I introduced in r192723, but it was actually introduced about a year ago.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151121/f3a27a4f/attachment.html>


More information about the webkit-unassigned mailing list