GNOME Bugzilla – Bug 392015
Selected menu item invisible on Windows Vista
Last modified: 2009-02-19 15:02:43 UTC
Please describe the problem: On Windows Vista, when using the MS-Windows theme, the selected menu item is highlighted in white and the highlighted text is also white. This makes it impossible to see the text of the highlighted menu item. Screenshot attached. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 79209 [details] Screenshot demonstrating invisible menu items
Maybe the theme engine got the wrong font color to use for menu items. What WinXP theme are you using? Luna Silver?
This is with Vista, not WinXP. The windows theme is the default Windows Aero theme that is selected after installing vista.
The same problem was also reported in private mail: > I don't know if you know about this, but in Vista if you hover over a > menu item the text disappears.
Created attachment 82518 [details] Vista Ultimate using GTK with Gaim. I have verified the problem. It also exists on Vista Ultimate full release.
Created attachment 82656 [details] [review] Workaround for Vista menu bug This patch is a workaround for the Vista menu bug. I have just disabled xp_theme_draw() in msw_style.c::draw_menu_item() and made it use the default draw routine. It seems there is no visual change in Windows 2000/XP by this patch. Not the best solution, but at least selected menu item becomes visible.
Hmm. If there is unneeded code, instead of #if 0, just remove the code in question then. If the code in question is needed on pre-Vista platforms, we need to make it conditional depending on OS version.
Looks fine in XP using multiple themes. Committed to trunk and gtk-2-10.
*** Bug 433033 has been marked as a duplicate of this bug. ***
*** Bug 439969 has been marked as a duplicate of this bug. ***
*** Bug 443751 has been marked as a duplicate of this bug. ***
*** Bug 452623 has been marked as a duplicate of this bug. ***
*** Bug 526921 has been marked as a duplicate of this bug. ***
*** Bug 571461 has been marked as a duplicate of this bug. ***