Mailing List Archive

[issue41522] IDLE: configdialog tab icons
New submission from E. Paine <paineelisha@gmail.com>:

Currently, the tabs on the configdialog's Notebook only have a text description. I propose we add icons to the tabs to make them a little more colourful, new-user-friendly, etc.

I have drafted a version which uses icons found in the Public Domain (I can provide links if this would be helpful - I believe the changes I have made would be covered under the CLA) resized to a height of 25px (see attached). The shown icons are meant more as a demonstration of this feature than a "I want these particular icons in the patch" but feel these make the dialog seem more inviting.

I have nosied Mark Roseman as this idea came from the sort of changes described on the IDLE modernisation case study (https://tkdocs.com/tutorial/idle.html)

----------
assignee: terry.reedy
components: IDLE
files: idle-tab-icons.png
messages: 375186
nosy: epaine, markroseman, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: configdialog tab icons
type: enhancement
versions: Python 3.10, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49382/idle-tab-icons.png

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41522>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue41522] IDLE: configdialog tab icons [ In reply to ]
Terry J. Reedy <tjreedy@udel.edu> added the comment:

I think we can agree that making the dialogs and in particular the settings dialog more visually inviting is a good thing. However, two problems are priority and differing aesthetic opinions. Some thoughts off the top of my head...

I consider revising tab contents a higher priority. One thing is redoing the Highlights (Colors) and Keys pages using Mark's ideas from 5 years ago. At the time, Configdialog was a giant class with 70 methods and no tests. 3 years ago, Cheryl and I (with a bit of help from Louie Lu), split the class into a dialog class and classes for each tab, and added unit tests with, now, 94% coverage.

Also, the dialog is now too tall to fit in the space Apple allows to apps on my small Macbook Air notebook. (See General comment below.)

As for the tabs themselves. If left, 'Tabs' should be 'Indent', but the setting should be moved to General, which needs to be split into two pages (and classes) and tabs as there are other things to add.

I think 'Highlights' should be 'Colors', as 'syntax coloring' only loosely fits 'important parts' or 'lightened parts'. Comments are colored separately so that they can be ignored. Ditto, sometimes, for strings.

As for the icons, I don't think that the examples add much info. Hence they seem like noise to me. I think that the plug, possibly on an extension cord, fits best *because* it is so concordant with the text label.

If we do use images, I might consider emoji that get rendered on most systems. Tk *will* display b/w astral emoji just fine in a read-only context. Example: "\U0001f40d = ????" This might be appropriate icon for one of the splits of General. (Or we can create images that combine images and text.)

We could also consider creative typography. 'Fonts' in bold italic and varying size letters might better suggest 'font choice'. Ditto for 'Colors' in multiple colors. Boxing the 'K' of "Keys" in a key image or maybe even [K][E][Y]s might be interesting.

Now that we are using ttk widgets for dialogs, I have thought about somehow using Python yellow and blue in an IDLE dialog style. But something else is always a higher priority.

----------
nosy: +cheryl.sabella

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue41522>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com