Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | 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. |
|---|---|
| Downloads: | See separate download page |
| Timelines: | family | ancestors | descendants | both | macos-root-destroyed-early |
| Files: | files | file ages | folders |
| SHA3-256: |
996b73f3a3f6014f80874bdb5d8bcf3f |
| User & Date: | serhiy.storchaka 2026-10-24 10:33:21.856 |
References
|
2026-10-24
| ||
| 10:39 | • Ticket [aeb2ed51] Aqua: Unretained NSWindow reference passed to showRootWindow() idle task status still Open with 4 other changes artifact: a09821cc user: serhiy.storchaka | |
| 10:39 | • Ticket [8e32cb7e] Aqua: window-2.12 crash status still Open with 4 other changes artifact: 066100ef user: serhiy.storchaka | |
Context
|
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 | |
| 08:52 | Stipple tests canvas-27.1, canvas-27.2 and canvRect-13.1 to 13.3 (from [220787]) fail on Aqua, which does not support stippling: add the notAqua constraint. check-in: e277e5e5 user: serhiy.storchaka tags: trunk, main | |
Changes
Changes to library/console.tcl.
Changes to macosx/tkMacOSXInit.c.
Changes to tests/window.test.
