This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients gpolo, guillaumeb, ned.deily, serhiy.storchaka
Date 2019-03-29.20:33:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553891588.61.0.109224742942.issue36468@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the report.  The difference in behavior appears to be due to a change in Tk. Using the python.org 3.7.2 or .3 installers which use Tk 8.6.8, the colors are displayed.  But if I use a Python linked with Tk 8.6.9, the bars are not colored.  You can run the following commands in Python to verify which version of Tk is in use:

import tkinter
root = tkinter.Tk()
root.tk.call('info', 'patchlevel')

In any case, there isn't likely anything Python can do about it as tkinter is pretty much a thin wrapper around calls to Tk and it's difficult to know what the expected Tk behavior is.  If you want to pursue this issue, I suggest bringing it up on a Tk forum or checking whether there is a Tk issue about it.

But I had luck! Doing a quick search, I found this Tk ticket which seems to describe your problem and does confirm that the behavior change was introduced in 8.6.9:

https://core.tcl.tk/tk/info/509cafafae
History
Date User Action Args
2019-03-29 20:33:08ned.deilysetrecipients: + ned.deily, gpolo, serhiy.storchaka, guillaumeb
2019-03-29 20:33:08ned.deilysetmessageid: <1553891588.61.0.109224742942.issue36468@roundup.psfhosted.org>
2019-03-29 20:33:08ned.deilylinkissue36468 messages
2019-03-29 20:33:08ned.deilycreate