Tk Source Code

Check-in [7c3fb7d9]
Login

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

Overview
Comment:window-2.13: explain why the delay of "destroy ." must be 0, as suggested by chrstphrchvz in [8e32cb7ece].
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | macos-root-destroyed-early
Files: files | file ages | folders
SHA3-256: 7c3fb7d940e4be6401bf4800d79fd7215360faaa237e3d65f0659619e2d0939c
User & Date: serhiy.storchaka 2026-10-25 07:48:53.585
Context
2026-10-29
19:46
Fix [aeb2ed51ab]: Aqua: Unretained NSWindow reference passed to showRootWindow() idle task check-in: 7a4499e2 user: culler tags: trunk, main
2026-10-25
07:48
window-2.13: explain why the delay of "destroy ." must be 0, as suggested by chrstphrchvz in [8e32cb7ece]. closed check-in: 7c3fb7d9 user: serhiy.storchaka tags: macos-root-destroyed-early
2026-10-24
10:33
Fix [aeb2ed51ab] and [8e32cb7ece]: on macOS, destroying "." before the root window was first shown (e.g. [after 0 {destroy .}]) crashed in the showRootWindow() idle handler, which used the possibly deallocated NSWindow and the NULL Tk window. Retain the NSWindow until the handler runs, and do nothing there if its Tk window is gone. Also fix a background error on Windows in the console, whose idle script for erasing the "% " prompt ran after the application was destroyed. Test window-2.13. check-in: 996b73f3 user: serhiy.storchaka tags: macos-root-destroyed-early
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/window.test.