Swing's GTK look and feel matches that of GTK 2.0.x, Mercury is shipping with
GTK 2.2, and there are some differences in a handful of places. This bug
illustrates one of the places where GTK 2.0 and GTK 2.2 differ, in the colors.
The original synopsis of this bug was:
'Selection Color of the TextField is different than the native selection Color'
I'm changing the synopsis to match the real cause.
Here's the things that have changed (most of this can be found on the
bugzilla web site, http://bugzilla.gnome.org/show_bug.cgi?id=80691):
. Fallback color palette has changed, with specific colors for menus and
. Menus are now painted with a different shadow type.
Other problems fixed (in Swing's GTK look and feel, not between GTK 2.2
and 2.4) with this:
. Disabled text was painted incorrectly.
. State passed into the engine for paintCheck and paintOption was wrong.
. Calculating the light/dark/mid colors was wrong.
. ProgressBars were getting inset and extra pixel.
. Menu separators would draw in the wrong place if they were 2 pixels tall.
Look at the comments for some additional details on this.
Also note that with the latest version of blueprint the original problem this
was submitted against is not an issue. This is because Blueprint is
explicitly specifying the fallback colors so that Swing looks right.