We try this script:
This is the result:
active | inactive | |
This looks bad when the widget does not have the focus. The color of option -selectforeground does not fit with the background color of an inactive selection (this color will be given with option -inactiveselectbackground). There is no reason that the readability will suffer when the widget is losing the focus, and it's not usual at all.
In next step we redefine the selection colors:
Giving this result:
active | inactive | |
Here the result with inactive selection is even more worse. It's quite unlikely that the user want's this result. The obvious suspicion is that an option -inactiveselectforeground is needed (see Additional Widget Option '-inactiveselectforeground').