Skip to content

IDLE: configdialog tab icons #85694

Open
Open

Description

@E-Paine
mannequin
BPO 41522
Nosy @terryjreedy, @taleinat, @roseman, @csabella, @E-Paine
Files
  • idle-tab-icons.png
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/terryjreedy'
    closed_at = None
    created_at = <Date 2020-08-11.16:53:23.029>
    labels = ['expert-IDLE', 'type-feature', '3.8', '3.9', '3.10']
    title = 'IDLE: configdialog tab icons'
    updated_at = <Date 2020-08-11.19:39:08.207>
    user = 'https://github.com/E-Paine'

    bugs.python.org fields:

    activity = <Date 2020-08-11.19:39:08.207>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = False
    closed_date = None
    closer = None
    components = ['IDLE']
    creation = <Date 2020-08-11.16:53:23.029>
    creator = 'epaine'
    dependencies = []
    files = ['49382']
    hgrepos = []
    issue_num = 41522
    keywords = []
    message_count = 2.0
    messages = ['375186', '375196']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'taleinat', 'markroseman', 'cheryl.sabella', 'epaine']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41522'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    1. E-Paine commented on Aug 11, 2020

      E-Painemannequin
      MannequinAuthor

      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)

    2. terryjreedy commented on Aug 11, 2020

      @terryjreedy
      Member

      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.

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions