Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry#119175

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
terryjreedy merged 7 commits intopython:mainfromWulian233:main
May 21, 2024

Conversation

Wulian233
Copy link
Contributor

@Wulian233Wulian233 commentedMay 19, 2024
edited
Loading

Copyhttps://github.com/python/cpython/blob/main/Lib/idlelib/pyshell.py#L16-L22 tohttps://github.com/python/cpython/blob/main/Lib/turtledemo/__main__.py

ifwin32:try:importctypesPROCESS_SYSTEM_DPI_AWARE=1# Int required.ctypes.OleDLL('shcore').SetProcessDpiAwareness(PROCESS_SYSTEM_DPI_AWARE)except (ImportError,AttributeError,OSError):pass

@ghost
Copy link

ghost commentedMay 19, 2024
edited by ghost
Loading

All commit authors signed the Contributor License Agreement.
CLA signed

@Wulian233Wulian233 changed the titleFix high DPI causes turtledemo(turtle-graphics examples) windows blurrygh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurryMay 19, 2024
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
@terryjreedy
Copy link
Member

Lint failed because news item needed newline. I should have replaced default "Update ..." message as change is not visible in diffs.

I will make unrelated config.py correction in a separate PR.

I will change this to move fixup code to a new function in idlelib.util and then conditionally import and call function.

@terryjreedy
Copy link
Member

Wait for now.

@pythonpython deleted a comment frombedevere-appbotMay 20, 2024
@terryjreedyterryjreedy added needs backport to 3.12only security fixes needs backport to 3.13bugs and security fixes labelsMay 20, 2024
@terryjreedy
Copy link
Member

Ignore change request; I made all changes I think are needed. After separate config patch, I had to fix merge conflict and decided to make additional change here. Please pull changes to your system and test that revised code works.

Wulian233 reacted with heart emoji

@Wulian233
Copy link
ContributorAuthor

Thanks! Look Good To Me! 😀

@terryjreedyterryjreedy merged commit538ed5e intopython:mainMay 21, 2024
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 21, 2024
…les) windows blurry (pythonGH-119175)------Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>(cherry picked from commit538ed5e)Co-authored-by: Wulian233 <71213467+Wulian233@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 21, 2024
…les) windows blurry (pythonGH-119175)------Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>(cherry picked from commit538ed5e)Co-authored-by: Wulian233 <71213467+Wulian233@users.noreply.github.com>
@bedevere-app
Copy link

GH-119289 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 21, 2024
@bedevere-app
Copy link

GH-119290 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelMay 21, 2024
terryjreedy pushed a commit that referenced this pull requestMay 21, 2024
…ples) windows blurry (GH-119175) (#119289)gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175)------(cherry picked from commit538ed5e)Co-authored-by: Wulian233 <71213467+Wulian233@users.noreply.github.com>
terryjreedy pushed a commit that referenced this pull requestMay 21, 2024
…ples) windows blurry (GH-119175) (#119290)gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175)------(cherry picked from commit538ed5e)Co-authored-by: Wulian233 <71213467+Wulian233@users.noreply.github.com>
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
…les) windows blurry (python#119175)------Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nineteendonineteendonineteendo left review comments

@terryjreedyterryjreedyterryjreedy approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Wulian233@terryjreedy@nineteendo

[8]ページ先頭

©2009-2025 Movatter.jp