Tk Source Code

Check-in [54ffe89f]
Login

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

Overview
Comment:Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7]
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 54ffe89f65d63c214f13cbeef605621c434d7dcb2477af3d7f3ee406837d4b55
User & Date: jan.nijtmans 2026-10-09 17:14:08.824
References
2026-10-14
12:15 • Closed ticket [4a25f316]: Embedded application exits with BadDrawable when its container is destroyed plus 6 other changes artifact: 37284326 user: nemethi
Context
2026-10-14
11:58
Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7] check-in: 474ec9d0 user: csaba tags: core-8-6-branch
09:22
Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7] check-in: d5effc94 user: csaba tags: core-9-0-branch
2026-10-10
02:28
Fix [f215a9fdaa]: scaling issues in CreateCGImageFromDrawableRect: patch from Christopher Chavez. check-in: 8a466319 user: culler tags: trunk, main
2026-10-09
21:03
Rebase to main check-in: 64b18073 user: serhiy.storchaka tags: tests-platform-constraints
18:11
Fix [5f7ba8c5a3]: deleted X error handlers were kept until every 10th deletion, and then only those processed before the previous round trip were freed, so memory tests saw growth when Tk_MeasureChars creates a handler for each measurement (entry-5.20 with --enable-xft --disable-bidi). Free a handler at once if no request was made while it was active, and use the serial after the round trip in the cleanup. closed check-in: a4481688 user: serhiy.storchaka tags: error-handler-free-early
17:14
Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7] check-in: 54ffe89f user: jan.nijtmans tags: trunk, main
17:03
Fix [7f05a19378]: Application crash on Windows when destroying toplevel that is "not responding" check-in: e2cb4db7 user: jan.nijtmans tags: trunk, main
15:17
Fix [5f7ba8c5a3]: Restore the fix for [4a25f316f7], which was backed out because the table of deleted windows grew in loops which created and destroyed windows without a round trip to the server (entry-5.20 and place-14.1 failed with --enable-symbols=all). Only an embedded application can have its windows destroyed by someone else, so record deleted windows only if a toplevel of the application has been embedded on that display. closed check-in: 8bb13f5c user: serhiy.storchaka tags: embed-container-destroyed
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to generic/tkError.c.
Changes to generic/tkInt.h.
Changes to generic/tkWindow.c.
Changes to tests/unixEmbed.test.
Changes to unix/tkUnixEmbed.c.