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.

classification
Title: IDLE line numbering should be light gray
Type: behavior Stage:
Components: IDLE Versions: Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: cheryl.sabella, rhettinger, taleinat, terry.reedy
Priority: normal Keywords:

Created on 2020-06-03 17:10 by rhettinger, last changed 2022-04-11 14:59 by admin.

Messages (4)
msg370681 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2020-06-03 17:10
In live code demos, the visual weight of the line numbers is heavier than the code next to it.  Instead, is should be light gray, just dark enough to easily locate a line of interest, and light enough to tune out while reading the line and surrounding code.   The current weight impairs readability.
msg370686 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-06-03 21:30
The line number sidebar colors are already user configurable.  We expected preferences for this to be as diverse as for anything else.  I changed them on my custom dark theme to dark blue on light blue, but I don't expect anyone else to like that.

Notepad++ black on white uses a slightly lighter gray on a very light gray (RBG about 233 versus 255 for white).  I think a background different from the text is a good idea.  In retrospect,  I might have suggested a default something more like N++,  but I am not currently willing to change the existing default.
msg370688 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2020-06-03 22:01
I agree that the line numbers should be less prominent.

Terry, why not change the the default? ISTM we should strive to have good default colors, they are what most users use and see.

I also think we should improve the dark theme, but that's a separate issue.
msg370699 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-06-04 08:08
When the question of changing default-x.def has come up before (and there are things I would like to change) the answer has generally been that we should not, a) because it would be too disruptive, including affecting exiting customizations, and b) because users already have the option of customizing.  Most of the behaviors we change are not customizable, so we have to change the current behavior to give most people a better behavior, even if some people (including Raymond) object.

However, I will reconsider here since a) Tal, who I believe choose the current default, not only agrees with changing it by also the direction, b) line-numbers are only a year old, and, importantly, c) themes are saved as a whole, rather than as individual pairs, so that existing customizations will not be affected.  Even so, I expect that there will be people using IDLE Classic that prefer the current default.

If we are to change, we need specific foreground and background RGB numbers to replace the Current ones.  Raymond, Tal, and Cheryl if you want, please play with the line number (and future Shell sidebar) colors and propose something specific for general use.  (Raymond, I can imagine that you might prefer for projection with a particular system something different than you think is best for default screen use.)  I intend to post to idledev and maybe elsewhere to get other opinions (including for IDLE Dark).  Since I will not use whatever is chosen, my main concern is that we not choose something so light as to be unreadable by people like me with less than 'perfect' vision.

Related issue: the IDLE New theme was added years ago as a copy of IDLE Classic.  I presume the intent was to provide an alternative (light) default, but it was never modified, making it currently useless.  We should either delete it, while recognizing the name, or actually change it.  I have some ideas for the latter, but I presume Raymond intends this issue to be about changing IDLE Classic.
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85033
2020-06-04 08:08:25terry.reedysetstatus: closed -> open

nosy: + cheryl.sabella
messages: + msg370699

resolution: not a bug ->
stage: resolved ->
2020-06-03 22:01:31taleinatsetmessages: + msg370688
2020-06-03 21:30:29terry.reedysetstatus: open -> closed

nosy: + taleinat
messages: + msg370686

resolution: not a bug
stage: resolved
2020-06-03 17:10:44rhettingercreate