GNOME Bugzilla – Bug 727244
W32: Items selected in listbox have correct background color, but wrong text color
Last modified: 2014-04-04 08:02:39 UTC
Turns out, W32 CSS doesn't have any .list and .list-row styles, and once these are added, they may not work correctly with existing styles. I've made a quick hack to fix this, but i would recommend W32 stylesheet to be completely redone eventually, to avoid blanket styles.
Created attachment 273170 [details] [review] W32: Fix listbox selection * Makes listbox background white instead of default grey * Uses gradients or W32 theme parts to draw sexy selection/prelight rectangle instead of changing selected/prelighted item background * Removes blanket button text color, allowing buttons to inherit text color from their parents. Non-normal buttons DO get specific text color though. This partially fixes text color propagation from listbox rows to their children.
Review of attachment 273170 [details] [review]: ok
Created attachment 273488 [details] [review] W32: Give unfocused selected list items special background, like Explorer does
Created attachment 273489 [details] How selected & unfocused item looks without patch 273488 (but with patch 273170)
Created attachment 273490 [details] How selected & unfocused item looks with patch 273488 on top of patch 273170
Review of attachment 273488 [details] [review]: Looks good.
Attachment 273170 [details] pushed as e229cff - W32: Fix listbox selection Attachment 273488 [details] pushed as 3540e6c - W32: Give unfocused selected list items special background, like Explorer does