Tk Source Code

Check-in [3b64795c]
Login

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

Overview
Comment:Fix [3009885fff]: tk_messageBox can return empty string on Windows
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 3b64795c376619023019742f359c6a4c0f0fef352fd38dcaf9010a52646a4384
User & Date: jan.nijtmans 2026-10-14 13:52:06.314
References
2026-10-14
16:17 • Closed ticket [3009885f]: tk_messageBox can return empty string on Windows plus 9 other changes artifact: 95e796ef user: jan.nijtmans
Context
2026-10-14
14:06
Fix [3009885fff]: tk_messageBox can return empty string on Windows check-in: 3a4343dd user: jan.nijtmans tags: core-9-0-branch
13:58
Fix 9336f1907d: remove empty directories from the zipfs VFS with POSIX find options check-in: a04d587c user: jan.nijtmans tags: trunk, main
13:52
Fix [3009885fff]: tk_messageBox can return empty string on Windows check-in: 3b64795c user: jan.nijtmans tags: trunk, main
08:34
canvText-22.1: constrained by aquaKnownBug until ticket [271f61c768] is fixed. check-in: b6303a5a user: serhiy.storchaka tags: trunk, main
2026-10-02
18:41
Fix [3009885fff]: tk_messageBox can return empty string on Windows.

When the container of a transient toplevel became visible again, e.g. after it was deiconified, the wrapper of the transient was recreated. This destroyed the dialogs owned by it, so a tk_messageBox with the transient as -parent closed and returned an empty string. Recreate the wrapper only if it is not yet owned by the container's wrapper. closed check-in: b015fbc9 user: serhiy.storchaka tags: win-transient-keep-wrapper

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to tests/winWm.test.
Changes to win/tkWinWm.c.