Skip to content

[3.13] gh-75234: Fix keyboard selection in the lists of IDLE Settings (GH-157588) - #157931

Merged
terryjreedy merged 1 commit into
python:3.13from
miss-islington:backport-212e603-3.13
Sep 21, 2026
Merged

terryjreedy merged 1 commit into
python:3.13from
miss-islington:backport-212e603-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

The Up and Down keys move the selection in the help sources and key
bindings lists, but not the anchor. So the buttons that act on the
selected item stayed disabled, and acted on the anchored item instead
of the selected one. Move the anchor on the key events, as the font
list already does.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com

  • Select the first key binding when the list is loaded

(cherry picked from commit 212e603)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 5 (1M context) noreply@anthropic.com

…ythonGH-157588)

The Up and Down keys move the selection in the help sources and key
bindings lists, but not the anchor. So the buttons that act on the
selected item stayed disabled, and acted on the anchored item instead
of the selected one. Move the anchor on the key events, as the font
list already does.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Select the first key binding when the list is loaded

---------
(cherry picked from commit 212e603)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@terryjreedy
terryjreedy enabled auto-merge (squash) September 21, 2026 21:08
@terryjreedy
terryjreedy merged commit aa0279b into python:3.13 Sep 21, 2026
44 checks passed
@miss-islington
miss-islington deleted the backport-212e603-3.13 branch September 21, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants