IDLE: Menu fonts too small
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Bug report
Bug description:
Pythons native idle menu fonts are too small when up scaling system fonts.
See Discourse topic.
What I think would be good is a config menu option for changing the menu font size, failing that a config option in
.idlerc/config-main.cfg
Fixing the scaling in run.py with
font['size'] = round(-0.75*size)
seems like a dirty hack and somewhat arbitrary and does not fix it for me.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with IDLE's run.py and the .idlerc/config-main.cfg option mentioned in the report, then review the linked Discourse discussion for the scaling context. Determine a maintainable way to make menu font sizing correct or configurable on Linux, and verify that the displayed menu fonts are no longer too small when system fonts are scaled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100