[issue45270] Clicking "Add to Custom Colors" adds same colour multiple times

Terry J. Reedy report at bugs.python.org
Thu Sep 23 11:38:02 EDT 2021


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

IDLE has nothing to do with the operation of the color chooser.  IDLE calls a tkinter function that calls a tk functions that calls the OS Window Manager color chooser.  The choice you make is returned to IDLE as a color string that IDLE can later pass to tkinter and tk.  What you see on Windows, in your image is the MS Windows 10 color chooser.  The macOS color chooser is *completely* different.

The Windows Custom Color bar presumes that you make a small set of distinguishable custom colors.  The main use in IDLE would be if you create a custom backgound color that you want to use for multiple foreground/background pairs.  The use in Windows would be if you have a custom palette that you want to use for multiple applications.

----------
resolution:  -> third party
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list