IDLE: Remove annoying line in Shell sidebar · Issue #91398 · python/cpython (original) (raw)

@antudic

BPO 47242
Nosy @terryjreedy, @antudic

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 2022-04-06.16:20:04.905> labels = ['expert-IDLE', 'type-bug', '3.10'] title = 'Annoying white bar in IDLE (line 457 in sidebar.py)' updated_at = <Date 2022-04-06.16:20:04.905> user = 'https://github.com/antudic'

bugs.python.org fields:

activity = <Date 2022-04-06.16:20:04.905> actor = 'antudic' assignee = 'terry.reedy' closed = False closed_date = None closer = None components = ['IDLE'] creation = <Date 2022-04-06.16:20:04.905> creator = 'antudic' dependencies = [] files = [] hgrepos = [] issue_num = 47242 keywords = [] message_count = 1.0 messages = ['416883'] nosy_count = 2.0 nosy_names = ['terry.reedy', 'antudic'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue47242' versions = ['Python 3.10']

@antudic

I noticed there was a white bar to the left in my IDLE when I upgraded to 3.10, it stuck out like a soar thumb since I have a custom dark theme. This was not an issue with earlier versions. After scouring through the code I found the perpetrator to be a "padx=2" in sidebar.py on line 457. Changing this value from "2" to "0" fixes this issue.

Changing this line of code solves this issue and leaves the color choices up to the user, as intended.

@terryjreedy terryjreedy changed the titleAnnoying white bar in IDLE (line 457 in sidebar.py) IDLE: Remove annoying line in sidebar

May 21, 2022

@terryjreedy terryjreedy changed the titleIDLE: Remove annoying line in sidebar IDLE: Remove annoying line in Shell sidebar

Sep 18, 2022

@hugovk hugovk added 3.11

only security fixes

3.12

bugs and security fixes

and removed 3.10

only security fixes

labels

Apr 8, 2023