Tk Source Code

Check-in [d1c2d15f]
Login

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

Overview
Comment:Fix [7c51624a96]: moving a sash in a panedwindow stretched by the user made it request its current size, so a gridded toplevel (e.g. with text -setgrid 1 panes) grew with each sash move on Windows and reported wrong grid sizes. After a sash move, set the stretchable panes to the sizes which are stretched to their current sizes, so the requested size does not change. Test panedwindow-31.1.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | panedwindow-sash-keep-request
Files: files | file ages | folders
SHA3-256: d1c2d15f2e61b66afe12f457adb818f14ef96639ff70d678ccac0c4c8e18b6df
User & Date: serhiy.storchaka 2026-10-11 13:59:54.308
Context
2026-10-15
07:21
Fix [7c5162]: panedwindow misbehaving when resizing window check-in: 94e351aa user: jan.nijtmans tags: trunk, main
2026-10-11
13:59
Fix [7c51624a96]: moving a sash in a panedwindow stretched by the user made it request its current size, so a gridded toplevel (e.g. with text -setgrid 1 panes) grew with each sash move on Windows and reported wrong grid sizes. After a sash move, set the stretchable panes to the sizes which are stretched to their current sizes, so the requested size does not change. Test panedwindow-31.1. closed check-in: d1c2d15f user: serhiy.storchaka tags: panedwindow-sash-keep-request
03:50
Preserve _eventinterp before passing it to Tcl_DoWhenIdle. check-in: 1bc92655 user: culler tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkPanedWindow.c.
Changes to tests/panedwindow.test.