Tk Source Code

Check-in [aa57e2a1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Tests: do not depend on the default sizes in points set in tk.tcl.

The default panedwindow sash width, the scale sizes and the X11 scrollbar width are specified in points in tk.tcl and grow with the DPI. The tests passed only if option.test, which clears the option database, was run before them. Set the sizes which the tests assume explicitly.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | tests-high-dpi
Files: files | file ages | folders
SHA3-256: aa57e2a1bba162e6f9619fe73187c94fb3f530c4b3c5d89f56f609b532f14a08
User & Date: serhiy.storchaka 2026-11-08 10:43:49.687
References
2026-11-16
10:57 • Ticket [d0bceae2] Wayland branch: CI failures hidden by the constraints.tcl error status still Open with 3 other changes artifact: 8e3bf351 user: serhiy.storchaka
2026-11-08
10:49 • Ticket [deca13e8] Tests fail at high display scale status still Open with 3 other changes artifact: d45384ab user: serhiy.storchaka
Context
2026-11-17
14:19
Tests: do not depend on the default sizes in points set in tk.tcl check-in: 59636476 user: jan.nijtmans tags: trunk, main
2026-11-08
10:43
Test font-10.9: use TkFixedFont on Windows.

The raster font Courier is reported as not fixed at some sizes, e.g. at 150%. check-in: a4b00e87 user: serhiy.storchaka tags: tests-high-dpi

10:43
Tests: do not depend on the default sizes in points set in tk.tcl.

The default panedwindow sash width, the scale sizes and the X11 scrollbar width are specified in points in tk.tcl and grow with the DPI. The tests passed only if option.test, which clears the option database, was run before them. Set the sizes which the tests assume explicitly. check-in: aa57e2a1 user: serhiy.storchaka tags: tests-high-dpi

10:43
Tests: do not depend on the size of scrollbar arrows on Windows.

The arrows and the minimal slider length grow with the scale (60 pixels at 350%). Use longer scrollbars at high scale and positions relative to the arrows and the trough. check-in: 48d0850e user: serhiy.storchaka tags: tests-high-dpi

2026-10-02
13:40
Tests: do not depend on the default sizes in points set in tk.tcl.

The default panedwindow sash width, the scale sizes and the X11 scrollbar width are specified in points in tk.tcl and grow with the DPI. The tests passed only if option.test, which clears the option database, was run before them. Set the sizes which the tests assume explicitly. check-in: f4d2cdb3 user: serhiy.storchaka tags: tests-high-dpi

Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/panedwindow.test.
Changes to tests/scale.test.
Changes to tests/scrollbar.test.