Tk Source Code

Timeline
Login

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

3 check-ins related to "x11-lazy-xic"

2026-09-25
14:13
Fix [5d52ad92fa]: creating widgets is slow when an input method is active check-in: e978f0d4 user: jan.nijtmans tags: trunk, main
2026-09-23
20:28
Fix [5d52ad92fa]: creating widgets is slow when an input method is active

Tk created an X input context for every window as soon as it got any event, and every creation costs a round trip to the input method. With ibus running this made the creation of widgets about ten times slower: 480 labels took about 470 ms instead of 36 ms, and the delay grew with the number of widgets.

Now the input context is created only for a toplevel and for the window which receives the focus, which is where it is used. With ibus the same 480 labels take 20-29 ms and 480 entries 6-7 ms. Based on the approach of the abandoned bug-xim branch by Brad Lanam. closed check-in: 894c1665 user: serhiy.storchaka tags: x11-lazy-xic

10:33
Fix for [3de1b72157]: ttk::notebook takes the focus when clicked, even with the -takefocus 0 option. check-in: a695f427 user: csaba tags: trunk, main