Skip to content

[3.14] gh-153716: Harden ttk/tkinter GUI tests against display scaling (GH-153717)#153738

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-87411d0-3.14
Jul 15, 2026
Merged

[3.14] gh-153716: Harden ttk/tkinter GUI tests against display scaling (GH-153717)#153738
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-87411d0-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Compute probe coordinates from each widget's own realized geometry
instead of hardcoding pixels such as (5, 5) or width - 5, which land on
a different element, or miss it entirely, at a high display scaling.
(cherry picked from commit 87411d0)

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

…pythonGH-153717)

Compute probe coordinates from each widget's own realized geometry
instead of hardcoding pixels such as (5, 5) or width - 5, which land on
a different element, or miss it entirely, at a high display scaling.
(cherry picked from commit 87411d0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jul 15, 2026
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 15, 2026 03:08
@serhiy-storchaka serhiy-storchaka merged commit 2ec8fcf into python:3.14 Jul 15, 2026
51 checks passed
@miss-islington miss-islington deleted the backport-87411d0-3.14 branch July 15, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants