Tk Source Code

Check-in [6037383f]
Login

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

Overview
Comment:Fix [a4c72a]: errors when a menu is destroyed while it is posted
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 6037383fb540a774ba0bd5c20327fe6fc4f376f39b50d7d933f1762b583b7a1b
User & Date: jan.nijtmans 2026-10-15 07:27:35.669
References
2026-10-17
18:14 • Pending ticket [a4c72a04]: macOS Aqua : little error with menu-buttons demo plus 5 other changes artifact: d2126a12 user: nemethi
Context
2026-10-17
18:04
Fix [a4c72a]: errors when a menu is destroyed while it is posted check-in: 8cbb336f user: csaba tags: core-8-6-branch
2026-10-15
14:01
Fix [a4c72a]: errors when a menu is destroyed while it is posted check-in: 0168135c user: jan.nijtmans tags: core-9-0-branch
07:29
Fix [853398ffff]: unixEmbed-5.1 failed sporadically check-in: cf6996f4 user: jan.nijtmans tags: trunk, main
07:27
Fix [a4c72a]: errors when a menu is destroyed while it is posted check-in: 6037383f user: jan.nijtmans tags: trunk, main
07:21
Fix [7c5162]: panedwindow misbehaving when resizing window check-in: 94e351aa user: jan.nijtmans tags: trunk, main
2026-10-08
12:59
Fix [a4c72a04e3]: errors when a menu is destroyed while it is posted. The menu can be destroyed during "$menu post", by the -postcommand or, on macOS, while the native menu is shown (e.g. by Cmd+W). tk::PostOverPoint, tk::MbPost and tk_popup no longer use the destroyed menu or menubutton afterwards, and Priv(postedMb) is cleared. See also [680884]. closed check-in: cda795ec user: serhiy.storchaka tags: menubutton-post-destroyed
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to library/menu.tcl.
Changes to tests/menu.test.
Changes to tests/menubut.test.