Tk Source Code

Check-in [7f20966d]
Login

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

Overview
Comment:Workaround for [3767882e06]: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: 7f20966df9d22f035a98b12d50a036eb49ae4c164d98d1ae92a3d38846d03eda
User & Date: jan.nijtmans 2020-04-14 22:09:52.341
References
2026-10-02
15:41 • Ticket [290ce5f4] TK performance on X11 with Forwarding (via SSH) decreased when upgrading from 8.6.10 to 8.6.11 status still Open with 3 other changes artifact: 799e25fe user: serhiy.storchaka
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

2026-09-26
12:20 • Ticket [729f9c80] send to a dead application returns "target application died" after 2 s instead of "no application named" (send-8.16) status still Open with 3 other changes artifact: e7bce698 user: serhiy.storchaka
Context
2020-04-15
14:50
Fix [89354dae31]: Avoid clipping in Aqua TkpDrawCharsInContext. Clipping does not work and is also inefficient. check-in: 422a2d7f user: culler tags: core-8-6-branch
06:25
Fix [3519111fff]: Problem with scroll in ttk check-in: 2222bd76 user: fvogel tags: bug-3519111fff
2020-04-14
22:12
Merge 8.6 check-in: c5e563ed user: jan.nijtmans tags: trunk
22:09
Workaround for [3767882e06]: X Error of failed request: BadLength (poly request too large or internal Xlib length error) check-in: 7f20966d user: jan.nijtmans tags: core-8-6-branch
19:09
Fix [87bade7e14]: Aqua PressAndHold composition misbehaves. check-in: 61e70e0f user: culler tags: core-8-6-branch
2020-04-13
14:20
Merge 8.6. One more use of Tk_CreateErrorHandler(), suggested by Christian Werner. Now it works on Ubuntu too! closed check-in: a84cc64f user: jan.nijtmans tags: bug-3767882e06
Changes
Unified Diff Side-by-Side Diff Patch
Changes to macosx/tkMacOSXKeyEvent.c.
Changes to unix/tkUnixRFont.c.