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 terry.reedy
Recipients cheryl.sabella, greylaw89, terry.reedy
Date 2019-03-08.22:12:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552083147.81.0.0772042819155.issue36176@roundup.psfhosted.org>
In-reply-to
Content
The only thing missing is the OS, which I presume is some version and distribution of Linux.

IDLE used tkinter which uses tcl/tk.  From what you say, the latter, at least on Linux, picks up its default colors from the window manager, which for you happens to be KDE.  (This seems not true, at least not yet, on current macOS, as switching to the new dark theme has no effect on IDLE.)  This suggests that when a widget has both foreground and background settings, IDLE should leave both alone to use compatible defaults or set both.

Except for text windows (which have both fore- and back-grounds) and frames and canvases (which only have background), IDLE generally does not set colors.  I just verified this for the settings and search dialogs.  Do these switch to light on dark when you set you screen to the same?

Setting autocomplete bg to white is an anomaly from before 2005.  It is useless or wrong and I think we should just delete the setting.

Setting the calltip and tooltips backgrounds (tooltip.py, line 162) to yellow is intentional, to contrast with the text.  So we should also set the foregrounds (to black).  I don't think these need to be configurable.

Cheryl, does your Ubuntu desktop have a dark theme option?  If so, does it affect tk defaults and hence IDLE?
History
Date User Action Args
2019-03-08 22:12:27terry.reedysetrecipients: + terry.reedy, cheryl.sabella, greylaw89
2019-03-08 22:12:27terry.reedysetmessageid: <1552083147.81.0.0772042819155.issue36176@roundup.psfhosted.org>
2019-03-08 22:12:27terry.reedylinkissue36176 messages
2019-03-08 22:12:27terry.reedycreate