[issue36176] Fix IDLE Autocomplete / Calltip Window Colors

Terry J. Reedy report at bugs.python.org
Sat Mar 9 23:35:32 EST 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I presume that the folders have names I cannot see because they are white on white, even though the current directly name is black (on gray).  The effect of the dark screen theme seems inconsistent.

  The open and save-as dialog boxes are provided by tk to either use or match the OS version.  (On Windows, I am fairly sure the native widget is being used.)  The tkinter wrappers are in its filedialog module. There are no color options.  So this is a tkinter or more likely, tk, issue.  This suggests to me that tcl/tk and KDE are not quite compatible.

The search box (searchbase.py) uses ttk widgets.  It seems that ttk.Frame picks up its background color from the environment while the included ttk widgets do not.  The effect is a little strange, but at least the text, including the entered text is readable.  We could make the backgrounds consistent either by setting the frame 'white' or by conditionally using a dark theme (there might already be one) for the contained widgets.  This is a separate issue.  

The 3.7.3rc cutoff is in a couple of days so I will make a minimal PR to fix the overt bugs that we know about and can.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36176>
_______________________________________


More information about the Python-bugs-list mailing list