Bug 4163 - Selected menu items are obscured as black text on blue background with classic Windows theme
Summary: Selected menu items are obscured as black text on blue background with classi...
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.17.3
Hardware: PC Windows 7
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-02-25 23:45 UTC by Mike
Modified: 2019-03-12 23:08 UTC (History)
0 users

See Also:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.