Skip to content

gh-128062: Fix the font size and shortcut display of the turtledemo menu #128063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 19, 2024

Conversation

Xiaokang2022
Copy link
Contributor

@Xiaokang2022 Xiaokang2022 commented Dec 18, 2024

Leave the font of the menu bar the default to keep it consistent with the rest of the world. Display the shortcut keys in the right way, using the 'accelerator' option.

…s too large and the shortcut key is displayed inaccurately
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could we be more clear (in both the PR title and the blurb entry) about what this is changing? ("improve" is too vague of a term)

…9oU7-.rst

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@Xiaokang2022 Xiaokang2022 changed the title gh-128062: Improve the menu bar of turtledemo gh-128062: Revert the font of turtledemo's menu bar to its default value and display the shortcut keys in the correct position Dec 18, 2024
@terryjreedy terryjreedy changed the title gh-128062: Revert the font of turtledemo's menu bar to its default value and display the shortcut keys in the correct position gh-128062: Fix the font size and shortcut display of the turtledemo menu Dec 18, 2024
@terryjreedy terryjreedy self-assigned this Dec 18, 2024
@terryjreedy
Copy link
Member

I fixed title and commit message. The macOS failure seems to be a known unrelated issue, #128069. Merging seems to be blocked until this is fixed.

Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my MacBook Air, with a small screen, fontsize 12 is too small as the default, used for the top bar, appears to be 14. Command+- and Command+= are the keys that work in the text widget. Agree with leaving size alone and using the standard accelerator option.

@terryjreedy terryjreedy added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Dec 18, 2024
@terryjreedy terryjreedy merged commit e163e8d into python:main Dec 19, 2024
38 checks passed
@miss-islington-app
Copy link

Thanks @Xiaokang2022 for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 19, 2024
…demo menu (pythonGH-128063)

Leave the font of the menu bar the default to keep it consistent with the rest of the world. Display the shortcut keys in the right way, using the 'accelerator' option.
---------

(cherry picked from commit e163e8d)

Co-authored-by: Zhikang Yan <2951256653@qq.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@miss-islington-app
Copy link

Sorry, @Xiaokang2022 and @terryjreedy, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e163e8d4e1a9844b8615ef38b9917b887a377948 3.12

@bedevere-app
Copy link

bedevere-app bot commented Dec 19, 2024

GH-128101 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Dec 19, 2024
@terryjreedy terryjreedy removed the needs backport to 3.12 only security fixes label Dec 19, 2024
terryjreedy added a commit that referenced this pull request Dec 19, 2024
…edemo menu (GH-128063) (#128101)

gh-128062: Fix the font size and shortcut display of the turtledemo menu (GH-128063)

Leave the font of the menu bar the default to keep it consistent with the rest of the world. Display the shortcut keys in the right way, using the 'accelerator' option.
---------

(cherry picked from commit e163e8d)

Co-authored-by: Zhikang Yan <2951256653@qq.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@Xiaokang2022 Xiaokang2022 deleted the improve-turtledemo-menu branch December 20, 2024 00:05
@Xiaokang2022 Xiaokang2022 restored the improve-turtledemo-menu branch December 20, 2024 00:08
@Xiaokang2022 Xiaokang2022 deleted the improve-turtledemo-menu branch December 20, 2024 08:19
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Dec 23, 2024
…demo menu (python#128063)

Leave the font of the menu bar the default to keep it consistent with the rest of the world. Display the shortcut keys in the right way, using the 'accelerator' option.
---------

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…demo menu (python#128063)

Leave the font of the menu bar the default to keep it consistent with the rest of the world. Display the shortcut keys in the right way, using the 'accelerator' option.
---------

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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