Disabled color selection listbox isn't painted as disabled

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Disabled color selection listbox isn't painted as disabled

Post by *MarcinW »

Steps to reproduce:
1) Launch TC with clean INI,
2) Go to configuration dialog, to "Display" -> "Color" section,
3) As can be seen, the "Cursor font" label is disabled (grayed), the corresponding listbox (with "default" string) is disabled (it doesn't react on clicks and its arrow is grayed), but listbox text is NOT grayed (although it also should be).

The listbox seems to be an ownerdraw listbox, so it should be easy to fix the problem: text should be painted grayed when state of the listbox is "disabled".

Image:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="ColorSelection.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ColorSelection.png"

iVBORw0KGgoAAAANSUhEUgAAATcAAAA7BAMAAADsudDOAAAAK3RFWHRDcmVhdGlvbiBUaW1lAFB0
IDI4IHBhnyAyMDE2IDAyOjA1OjQzICswMTAwkBwjRAAAAAd0SU1FB+AKHAAGF19mY+UAAAAJcEhZ
cwAACxIAAAsSAdLdfvwAAAAEZ0FNQQAAsY8L/GEFAAAAD1BMVEXU0MiAgID/////AP8AAADQIGsX
AAACsElEQVR42u2YAZKrIAyGQ8sBoPMO4Hb2AJ1hD8DMev8zvQRiF5TQYtXy5m2knaoFPv8QwAAE
u0CHpuF/hFO23a6Jfe4KNzabvyb1/+wK55ur9AkXHfnRJ9zANX7hinD+pzc9u/Uk3DiWOmoQoQ7H
1/SM7jk4XQbpBm4n5fTo9Qh4eI1sOr85aJzlGM5zd2U4D55aCU3RN5bQroYmm8Fhq6GQanqpHM7A
DKeZSYTDp+OmuM148iIcAnikKMLh009uZelkOPAwwcFmcNSWFpSjjhiOpavA6V3gfIQbqwFRUw4b
2MOtMSDIrYEtv5nCyWOO6mpiiXGQBoR/LSCqlsJ5MVo3tO2XL9pUdQu3obXA8Ua4Szh9/E54RZ3D
4E7XFXYU3KoHSt7EuoPT6bvYC3DOwfn2cwbp2Xaw6+DONzq6hYOelcMPudYFCR26uR+4MOZcoApw
mZPn/5RsNzgedb9w66KV4VxncHGewwPjAGOhEBD3/JwM10F+zrmvUjLu27kO8nPCJHNeurVPuPfl
556AG7jGRnCVxcr9i3AesvzcCjhr856kzfZKOL5Gb/ztcMhisp6MwMiLfuzb3cL67+KCuydcbiJc
hJl+QFgo7hcLcIv8XAZHMzbDGe60DGfAWMC/0hcWa5QyypgCnLvDYU8EF9eKItwiP5crZ+1liHCK
pRDhjMIPFcBfxCYol0gYlaMRJ8Ll+bkcTtnr5FaWToYDAwkcqEduDcet5tZFfm425i7DBMfSVeDU
I7gsIMKpg1pALPJzM7jTPSDMQEWIVhpguVsLcJmIDJFfLgZEkp+TolWdqEjzHLKZGBDB+5b4YB4Q
mYSRYb5lyuHkijM4Fq7PtfUUigynLLxub1xbt4V7X37uMdwb83MNLzjH5+dkuA7ycw3KHZ+fa4Db
Kj+3C9wC9i9PzAM64gkI9QAAAABJRU5ErkJggg==
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Fixed in both 32-bit and 64-bit TC.
Post Reply