Bug 5479 - MenuItem color bug with WIMP theme engine
Summary: MenuItem color bug with WIMP theme engine
Status: NEW
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: 2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Duncan Mak
: 7170 ()
Depends on: 918
  Show dependency tree
Reported: 2012-06-02 17:05 UTC by Michael R. Taylor
Modified: 2012-09-29 16:21 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Side-By-Side comparison (96.38 KB, image/png)
2012-06-02 17:05 UTC, Michael R. Taylor
correct libwimp.dll (93.03 KB, application/x-msdownload)
2012-09-17 06:33 UTC, Claudio Mezzasalma

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 5479 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Michael R. Taylor 2012-06-02 17:05:43 UTC
Created attachment 2013 [details]
Side-By-Side comparison

With the WIMP DLL shipped with GTK# 2.10 the text color of highlighted MenuItems is white.  This is very hard to read with the light-blue highlight bar.  If I overwrite libwimp.dll in the GTK# installation directory with the one that comes with GIMP 2.6 (it's also GTK 2.10), the text color stays black and is much easier to read.  I'm attaching screenshots to show what I mean.

Also, I've had a hard time finding the source code to WIMP.  Most of the links I find when I search for it seem out-dated.  I've found all the other popular theme engine source code repos, but not WIMP.  Could someone point me to where WIMP's source code is?

Thank you, I'd love to help resolve this issue.

Michael R. Taylor
Comment 1 Michael R. Taylor 2012-06-02 17:13:24 UTC
Ohh, I forgot to add:

Platform:  Windows 7 64bit
Comment 2 Mikayla Hutchinson [MSFT] 2012-06-04 14:27:17 UTC
This is a know GTK 2.16 bug that's fixed in later 2.x releases and on the tip of the 2.16 branch. However, we haven't updated the bundled GTK+ in some time.

You can work around this by downloading GTK+ 2.24 and putting it in your PATH before the GtkSharp one.
Comment 3 Claudio Mezzasalma 2012-09-17 06:33:31 UTC
Created attachment 2551 [details]
correct libwimp.dll


I'm adding the correct libwimp.dll coming from GIMP 2.6 reported above. Overwriting it in [Gtk# installation folder]\2.12\lib\gtk-2.0\2.10.0\engines fixes the error. It seems that the other method, download Gtk+ 2.24 and add its path in PATH environment variable before Gtk# didn't work for me.
Comment 4 Mikayla Hutchinson [MSFT] 2012-09-17 15:38:08 UTC
*** Bug 7170 has been marked as a duplicate of this bug. ***