[New-bugs-announce] [issue36176] Make IDLE Autocomplete / Calltip Window Colors Configurable

Kristoffer Law report at bugs.python.org
Sun Mar 3 22:17:11 EST 2019


New submission from Kristoffer Law <klaw at kslaw.me>:

IDLE utilizes the foreground text color from KDE/Qt (Window Text) for the autocomplete and calltip windows. If a dark theme is selected and the window text changed to white or another bright color, it can be difficult or impossible to see due to lack of contrast. There does not appear to be any way to change these particular windows text or background color settings from IDLE's configuration.

Modifying the variables under line 192 in autocomplete_w.py (bg="white") and line 83 in calltip_w.py (background="#ffffe0") allows these windows to change background colors.

Perhaps add these as settings in IDLE's config? Or force the foreground color to always be black?

Python 3.7.2
GCC 8.2.1

KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

(This is my first bug submission ever, so if I missed something obvious, I apologize in advance)

----------
assignee: terry.reedy
components: IDLE
messages: 337065
nosy: greylaw89, terry.reedy
priority: normal
severity: normal
status: open
title: Make IDLE Autocomplete / Calltip Window Colors Configurable
type: enhancement
versions: Python 3.7

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


More information about the New-bugs-announce mailing list