Tk Source Code

Timeline
Login

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

6 check-ins related to "text-metrics-after-redraw"

2026-10-28
17:02
[1348333] High number of text widgets block idle queue check-in: 8cd9dc36 user: oehhar tags: trunk, main
2026-10-27
11:16
textDisp-41.1: back to 30x30 text widgets, which [1348333] needs to show (20x20 passes without the fix), with a font small enough for the toplevel to fit on the CI screens: on a small screen the widgets of the rows clipped by the toplevel are unmapped, and an unmapped text widget never completes its line metrics update. closed check-in: e283698b user: serhiy.storchaka tags: text-metrics-after-redraw
08:59
[1348333] reduce test matrix of mass text widget test as it already takes more than 10 seconds on Ci (1.1 seconds locally) check-in: f2efd36d user: oehhar tags: text-metrics-after-redraw
2026-10-24
08:50
textDisp-41.1: wait up to 10 seconds for the line metrics update instead of one, since it did not complete in time on the slower Windows and macOS CI machines. Without the fix, no widget gets synchronized at all. check-in: 1f9685c9 user: serhiy.storchaka tags: text-metrics-after-redraw
2026-10-23
13:39
Fix [1348333fff]: with many text widgets, the asynchronous line metrics update polled with 1 ms timers while a redisplay was pending, which starved the idle handlers, including the redisplay itself. Now the update waits without a timer, and DisplayText() restarts it when the redisplay is no longer pending. Unlike the backed-out [4b3b840a41], which waited in a when-idle handler, a nested [update] during the redisplay (as in textWind-17.10) cannot loop. Test textDisp-41.1. check-in: 009b2c8f user: serhiy.storchaka tags: text-metrics-after-redraw
12:47
Backout [4b3b840a41], Because it creates a hang in textWind-17.10. See: [1348333] check-in: 00ba90d1 user: jan.nijtmans tags: trunk, main