Tk Source Code

Timeline
Login

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

26 check-ins related to "tests-high-dpi"

2026-11-20
13:37
Merge tests-high-dpi branch leaf check-in: 3d42dc18 user: jan.nijtmans tags: trunk, main
12:39
Tests: do not let the minimal width of Windows toplevels break winWm-11.1 and wm-geometry-2.2 at high scale.

They set a width of 200 and 300 pixels, which is less than the width of the title bar at 175% and 300%. Use 500 pixels. closed check-in: d29fa389 user: serhiy.storchaka tags: tests-high-dpi

2026-11-19
15:35
Rebase tests-high-dpi branch to trunk check-in: 4fd2c27f user: jan.nijtmans tags: tests-high-dpi
13:38
Backout [e6e08d8684]: options specific for the Tk test suite break invocations with "-singleproc 0" check-in: 41e2b9c1 user: erikleunissen tags: trunk, main
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-16
09:22
tests/font.test: use TkFixedFont on win32 instead of "courier 12". See ticket [deca13e833]. Thanks to Serhiy Storchaka. check-in: 2e318316 user: erikleunissen 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

10:43
Tests: do not depend on the size of fonts and lengths specified in points.

They grow with the DPI. Use pixel sizes which are the same as before at 96 DPI, or positions computed from the layout (textDisp, frame, textImage and text-27.15b). check-in: 4d3273ea user: serhiy.storchaka tags: tests-high-dpi

10:43
Tests: do not let the minimal width of Windows toplevels break tests at high scale.

Windows does not let a toplevel be narrower than its title bar, which grows with the scale (404 pixels at 350%). The new utility removeTitleBar removes the title bar of a test window on Windows if this limit is larger than 160 pixels. Tests which need the title bar (iconify, fullscreen) use a window not narrower than the limit. The text widgets in textIndex.test and textWind.test are no longer centered in a wider window. check-in: 73f2b9ce user: serhiy.storchaka tags: tests-high-dpi

2026-11-07
18:00
[9ab6e37e1acbcd9a] disallow "wm forget ." check-in: 694e33a1 user: oehhar tags: trunk, main
2026-10-06
18:25
Selected fix from [deca13e833]: test bind-34.1: fit a 800x600 screen check-in: ef5aab84 user: erikleunissen tags: core-9-0-branch
18:23
Selected fix from [deca13e833]: test bind-34.1: fit a 800x600 screen check-in: 25633400 user: erikleunissen tags: trunk, main
2026-10-05
10:14
Selected fix from [deca13e833]: correct state left by tests: pack-20.6 did not restore "pack propagate ."; event.test leaves the pointer over the larger windows of focus.test, slightly adapted from Serhiy Storchaka check-in: d19371a6 user: erikleunissen tags: trunk, main
2026-10-02
19:49
Take the window manager decorations into account in test event-c3f5c85322 check-in: 6e42783e user: erikleunissen tags: core-9-0-branch
19:41
Take the window manager decorations into account in test event-c3f5c85322 check-in: 7517b793 user: erikleunissen tags: trunk, main
13:40
Test font-10.9: use TkFixedFont on Windows.

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

13:40
Test bind-34.1: fit a 800x600 screen. check-in: 2681c07d user: serhiy.storchaka tags: tests-high-dpi
13:40
Tests: take the window manager decorations into account in event-c3f5c85322.

The title bar grows with the DPI in some window managers. check-in: 541b9a13 user: serhiy.storchaka tags: tests-high-dpi

13:40
Tests: do not depend on the state left by other tests.

pack-20.6 did not restore the geometry propagation of ".", which broke panedwindow-28.*. event.test can leave the pointer where the test windows of focus.test, larger at high DPI, are; without a window manager they then got the focus. check-in: 0d5a36f1 user: serhiy.storchaka tags: tests-high-dpi

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

13:40
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: 7839e53f user: serhiy.storchaka tags: tests-high-dpi

13:40
Tests: do not depend on the size of fonts and lengths specified in points.

They grow with the DPI. Use pixel sizes which are the same as before at 96 DPI, or positions computed from the layout (textDisp, frame, textImage and text-27.15b). check-in: 1352f8ee user: serhiy.storchaka tags: tests-high-dpi

13:40
Tests: do not let the minimal width of Windows toplevels break tests at high scale.

Windows does not let a toplevel be narrower than its title bar, which grows with the scale (404 pixels at 350%). The new utility removeTitleBar removes the title bar of a test window on Windows if this limit is larger than 160 pixels. Tests which need the title bar (iconify, fullscreen) use a window not narrower than the limit. textDisp.test removes the title bar of "." for the whole file instead of four tests, and the text widgets in textIndex.test, textWind.test and text-10.38 are no longer centered in a wider window. check-in: 96ca9851 user: serhiy.storchaka tags: tests-high-dpi

06:11
Fix [2b6398e983]: leak of the -locale value of entry, spinbox and text. check-in: 359b0a55 user: nab tags: trunk, main