[Idle] Indent width bug after adding custom keyset
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:
Indent width bug in idle after changing "dedent-region" to "Shift+Tab"
Only tested on Windows with
Python 3.12.6 with tcl/tk 8.6.13
Deleted .idlerc and replicated bug again to confirm.
Steps to replicate:
- Delete .idlerc
- Launch Idle IDE
- Custom keyset > change "dedent-region" to "Shift+Tab"
- Close & relaunch Idle IDE
Tab indent defaults to 8 spaces ( remains 4 in GUI)
Have to reconfigure with Alt+U every time you launch Idle.
Annoying enough to be a bug even if it is intended behavior.
CPython versions tested on:
3.12
Operating systems tested on:
Windows
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 by reproducing the issue in IDLE on Windows with Python 3.12 and Tcl/Tk 8.6.13, following the custom keyset and relaunch steps. Trace how the "dedent-region" binding and indentation width are persisted; done means the configured four-space width remains effective after restarting IDLE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100