Tk Source Code

Check-in [3d1d80d0]
Login

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

Overview
Comment:Fix [290ce5]: Tk performance regression on X11
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 3d1d80d012551093aa73bd094907d34db8a68a4c5a5f35e3dd84c5fa706b6690
User & Date: jan.nijtmans 2026-10-15 15:09:35.997
References
2026-10-16
10:01 • Closed ticket [290ce5f4]: TK performance on X11 with Forwarding (via SSH) decreased when upgrading from 8.6.10 to 8.6.11 plus 7 other changes artifact: 4c99189b user: jan.nijtmans
Context
2026-10-15
16:21
Fix [451cb358d9]: LastKnownRequestProcessed() assigned to unsigned int check-in: e0fcdf0c user: jan.nijtmans tags: trunk, main
15:12
Fix [290ce5]: Tk performance regression on X11 check-in: 33ef282a user: jan.nijtmans tags: core-9-0-branch
15:09
Fix [290ce5]: Tk performance regression on X11 check-in: 3d1d80d0 user: jan.nijtmans tags: trunk, main
13:00
See [a4c72a], still failing on macOS check-in: 21fb5007 user: jan.nijtmans tags: trunk, main
2026-10-02
14:55
Fix [290ce5f460]: Tk performance on X11 with forwarding decreased in 8.6.11.

Since [7f20966df9], text measurement with Xft is wrapped in an X error handler, and every tenth deletion of an error handler did a round trip with the X server (XSync) to catch errors for the outstanding requests. Skip it if no request was sent while the handler was active, so that no error can come for it. This removes most round trips when creating many widgets with text, e.g. 1200 -> 260 for a grid of 400 ttk::buttons without bidi. closed check-in: 2b118379 user: serhiy.storchaka tags: x11-error-handler-sync

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to generic/tkError.c.