Bug 4163

Summary: Selected menu items are obscured as black text on blue background with classic Windows theme
Product: Claws Mail (Windows) Reporter: Mike <spam>
Component: defaultAssignee: users
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 3.17.3   
Hardware: PC   
OS: Windows 7   

Description Mike 2019-02-25 23:45:32 UTC
When using a classic Windows theme without aero, selected menu items are obscured because they are rendered as black text on a dark blue background. Most other programs are able to avoid this problem by inverting the selected text from black to white, so that selected items show in high contrast as white on blue instead of black on blue.
Comment 1 Paul 2019-02-26 09:08:58 UTC
that's a problem with the theme, not a bug of claws-mail
Comment 2 Mike 2019-02-26 12:25:34 UTC
The theme may be a suboptimal one, but there is also a way for most programs to dodge the issue.
Comment 3 Andrej Kacian 2019-02-26 12:41:24 UTC
Yes, you can, by creating file "%APPDATA%\Claws-Mail\gtkrc-2.0" with following content:

style "inverted-menu-fg" {
  fg[PRELIGHT] = "#ffffff"
}

widget_class "*.GtkMenu.*" style "inverted-menu-fg"



I'm considering hardcoding this style override into claws-mail.exe itself, since this glitch is unlikely to ever be fixed in GTK. However, it is only useful in the classic theme, and is in fact causing similar problem (this time white text on light background) with the default Win7 aero theme, I don't think it's a good idea.
Comment 4 Mike 2019-02-26 12:49:56 UTC
Fabulous! Beautiful! It worked. 

Perhaps you could code it as an option for us old-timers! Actually, the old theme is great and popular, which is why Microsoft has provided it for so many years.

Thank you.

Mike
Comment 5 Mike 2019-03-12 22:58:31 UTC
The paperclip icon remains black on blue in selected messages.
Comment 6 Paul 2019-03-12 23:08:11 UTC
It's still 'INVALID', because it's resolved by your GTK theme and is not a Claws Mail bug.