René's URL Explorer Experiment


Title: gh-119459: Fix HiDPI blurring of every program window that using tkinter by Wulian233 · Pull Request #119902 · python/cpython · GitHub

Open Graph Title: gh-119459: Fix HiDPI blurring of every program window that using tkinter by Wulian233 · Pull Request #119902 · python/cpython

X Title: gh-119459: Fix HiDPI blurring of every program window that using tkinter by Wulian233 · Pull Request #119902 · python/cpython

Description: Refer #119459 , we believe this is a tk/tkinter bug that should be fixed in tkinter. In this PR, I added the fix code to tkinter/__init__.py, which fixes the window blurring problem that every program that uses tkinter has. Since I had already committed fix for turtledemo and terryjreedy fix IDLE earlier, I removed them here. Also #119175 was backported to 3.12 3.13 and I think this PR should be as well. ↓Fix Issue: gh-119459

Open Graph Description: Refer #119459 , we believe this is a tk/tkinter bug that should be fixed in tkinter. In this PR, I added the fix code to tkinter/__init__.py, which fixes the window blurring problem that every prog...

X Description: Refer #119459 , we believe this is a tk/tkinter bug that should be fixed in tkinter. In this PR, I added the fix code to tkinter/__init__.py, which fixes the window blurring problem that every prog...

Opengraph URL: https://github.com/python/cpython/pull/119902

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fa4058e4-bcae-e846-8dee-9d79410b249e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8DB4:46500:3F84D0:55BD4A:6A51432C
html-safe-noncea6174288ade4ebb7eccbfae829a4b3bd4a32dd8ac754656da95a820ed11c2f3a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REI0OjQ2NTAwOjNGODREMDo1NUJENEE6NkE1MTQzMkMiLCJ2aXNpdG9yX2lkIjoiMzc4MDg5Njg0NjczOTc1MTcyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac583049523564648e590199753e8750712b303eb22960ee3070d2710a1744ea1d
hovercard-subject-tagpull_request:1899071647
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/119902/files
twitter:imagehttps://avatars.githubusercontent.com/u/71213467?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/71213467?s=400&v=4
og:image:altRefer #119459 , we believe this is a tk/tkinter bug that should be fixed in tkinter. In this PR, I added the fix code to tkinter/__init__.py, which fixes the window blurring problem that every prog...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb78565f6aa43cc5323c9935ec11b22cca7bb0a62
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/119902/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F119902%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F119902%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/119902/files
Reloadhttps://github.com/python/cpython/pull/119902/files
Reloadhttps://github.com/python/cpython/pull/119902/files
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Wulian233https://github.com/Wulian233
python:mainhttps://github.com/python/cpython/tree/main
Wulian233:prhttps://github.com/Wulian233/cpython/tree/pr
Conversation 6 https://github.com/python/cpython/pull/119902
Commits 8 https://github.com/python/cpython/pull/119902/commits
Checks 0 https://github.com/python/cpython/pull/119902/checks
Files changed https://github.com/python/cpython/pull/119902/files
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
gh-119459: Fix HiDPI blurring of every program window that using tkinter https://github.com/python/cpython/pull/119902/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/119902/files
603ded3 Fix for HiDPI screens on Windows Wulian233 Jun 1, 2024 https://github.com/python/cpython/pull/119902/commits/603ded370bbf15f1f618b86a505080c6ea36c49b
a7bc67b news Wulian233 Jun 1, 2024 https://github.com/python/cpython/pull/119902/commits/a7bc67b4791b504a3b09d53fedc4bee175a9d6ce
ba34aa5 finish Wulian233 Jun 2, 2024 https://github.com/python/cpython/pull/119902/commits/ba34aa5d11f3fa00133011990bdb589e821191bd
58af786 except (ImportError, AttributeError, OSError) Wulian233 Jun 4, 2024 https://github.com/python/cpython/pull/119902/commits/58af7860537bdac6eab5db9edb291800904a19e4
f3e7bb6 typo Wulian233 Jun 4, 2024 https://github.com/python/cpython/pull/119902/commits/f3e7bb6a5b372d75af170de5a91d3937d3ef057c
a2163a7 revert ACKS Wulian233 Jun 14, 2024 https://github.com/python/cpython/pull/119902/commits/a2163a72a4a441dbb983a0b72b98d465b53a51bf
c9f9edf Ensures that the window size is not reduced due to DPI adjustments, m… Wulian233 Jun 22, 2024 https://github.com/python/cpython/pull/119902/commits/c9f9edf94d1f174ac80dea3734a7ad16b386a120
34840e9 Merge remote-tracking branch 'origin/pr' into pr Wulian233 Jun 22, 2024 https://github.com/python/cpython/pull/119902/commits/34840e9115d7b595f70065610f0704b89f7f0cf5
Clear filters https://github.com/python/cpython/pull/119902/files
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
pyshell.py https://github.com/python/cpython/pull/119902/files#diff-f6ced3d8ba872fb8904aa7cf07512890be864c5b00ae0ccf3d0c3edff0a03567
util.py https://github.com/python/cpython/pull/119902/files#diff-a1ba7a47c4d49cdd552857a7f757a01b898ed7029e35d31b511170cd9a3e9b2e
__init__.py https://github.com/python/cpython/pull/119902/files#diff-46c8ee2e6d4e02b7a2839d0cabde53331f5ad74fb09fdd6149b70e9d5cfb2cdd
__main__.py https://github.com/python/cpython/pull/119902/files#diff-24bdb9fd840195190c87fd96f560683be898c3c8ebb6083847c9702a742a6178
2024-06-01-19-07-55.gh-issue-119459.WRP-4n.rst https://github.com/python/cpython/pull/119902/files#diff-5a6c7b649c9f454bb4c6925f407c333cfcd5b056675ae8ce92ac44efd1945a13
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L505
Lib/idlelib/pyshell.pyhttps://github.com/python/cpython/pull/119902/files#diff-f6ced3d8ba872fb8904aa7cf07512890be864c5b00ae0ccf3d0c3edff0a03567
View file https://github.com/python/cpython/blob/34840e9115d7b595f70065610f0704b89f7f0cf5/Lib/idlelib/pyshell.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/119902/{{ revealButtonHref }}
https://github.com/python/cpython/pull/119902/files#diff-f6ced3d8ba872fb8904aa7cf07512890be864c5b00ae0ccf3d0c3edff0a03567
https://github.com/python/cpython/pull/119902/files#diff-f6ced3d8ba872fb8904aa7cf07512890be864c5b00ae0ccf3d0c3edff0a03567
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L505
Lib/idlelib/util.pyhttps://github.com/python/cpython/pull/119902/files#diff-a1ba7a47c4d49cdd552857a7f757a01b898ed7029e35d31b511170cd9a3e9b2e
View file https://github.com/python/cpython/blob/34840e9115d7b595f70065610f0704b89f7f0cf5/Lib/idlelib/util.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/119902/{{ revealButtonHref }}
https://github.com/python/cpython/pull/119902/files#diff-a1ba7a47c4d49cdd552857a7f757a01b898ed7029e35d31b511170cd9a3e9b2e
Lib/tkinter/__init__.pyhttps://github.com/python/cpython/pull/119902/files#diff-46c8ee2e6d4e02b7a2839d0cabde53331f5ad74fb09fdd6149b70e9d5cfb2cdd
View file https://github.com/python/cpython/blob/34840e9115d7b595f70065610f0704b89f7f0cf5/Lib/tkinter/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/119902/{{ revealButtonHref }}
https://github.com/python/cpython/pull/119902/files#diff-46c8ee2e6d4e02b7a2839d0cabde53331f5ad74fb09fdd6149b70e9d5cfb2cdd
Xiaokang2022https://github.com/Xiaokang2022
Dec 16, 2024https://github.com/python/cpython/pull/119902/files#r1886005597
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
Xiaokang2022https://github.com/Xiaokang2022
Dec 16, 2024https://github.com/python/cpython/pull/119902/files#r1886007888
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/119902/files
https://github.com/python/cpython/pull/119902/files#diff-46c8ee2e6d4e02b7a2839d0cabde53331f5ad74fb09fdd6149b70e9d5cfb2cdd
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L506
Lib/turtledemo/__main__.pyhttps://github.com/python/cpython/pull/119902/files#diff-24bdb9fd840195190c87fd96f560683be898c3c8ebb6083847c9702a742a6178
View file https://github.com/python/cpython/blob/34840e9115d7b595f70065610f0704b89f7f0cf5/Lib/turtledemo/__main__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/119902/{{ revealButtonHref }}
https://github.com/python/cpython/pull/119902/files#diff-24bdb9fd840195190c87fd96f560683be898c3c8ebb6083847c9702a742a6178
https://github.com/python/cpython/pull/119902/files#diff-24bdb9fd840195190c87fd96f560683be898c3c8ebb6083847c9702a742a6178
Misc/NEWS.d/next/Library/2024-06-01-19-07-55.gh-issue-119459.WRP-4n.rsthttps://github.com/python/cpython/pull/119902/files#diff-5a6c7b649c9f454bb4c6925f407c333cfcd5b056675ae8ce92ac44efd1945a13
View file https://github.com/python/cpython/blob/34840e9115d7b595f70065610f0704b89f7f0cf5/Misc/NEWS.d/next/Library/2024-06-01-19-07-55.gh-issue-119459.WRP-4n.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/119902/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.