Tk Source Code

Check-in [b728a5f5]
Login

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

Overview
Comment:Fix [c70fe74bc4]: Aqua displays incorrect menubar after destroying a window
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: b728a5f53dfd63250a4b9442b2ee504177356c1090c595f48201652ae237c0b2
User & Date: culler 2026-10-28 01:14:10.131
References
2026-10-29
16:15 • Closed ticket [bbd5398a]: event-8.1 fails with a French AZERTY keyboard layout plus 8 other changes artifact: 481edd60 user: jan.nijtmans
2026-10-28
15:01 • Ticket [bbd5398a]: 3 changes artifact: c193ab58 user: nab
08:47 • Closed ticket [c70fe74b]: Aqua: menubar shows the menu of a window that is not in front, or Tk's default menu, when a toplevel with -menu is configured or destroyed plus 6 other changes artifact: d278195f user: nab
Context
2026-10-28
17:24
Scroll menus with the mouse wheel and the touchpad on Windows (ticket [89e37b0519]). Windows discards the wheel while a menu is open: receive it as raw input and replay each line as a click on the scroll arrow. leaf check-in: 9287185a user: nab tags: nab-win-menu-wheel
10:35
Build Tk against trunk by default check-in: 33fdf81f user: jan.nijtmans tags: trunk, main
10:27
Fix [cfe22c451f]: configure did not use cups-config --ldflags, so Tk failed to link with -lcups on OpenBSD. Also check that libcups can be linked and disable CUPS otherwise. closed check-in: 0f7ed394 user: serhiy.storchaka tags: configure-cups-ldflags
08:56
Merge trunk. The new trunk tests text-42.1 and text-42.2 become text-48.1 and text-48.2 (text-42.1 and text-42.2 are taken). check-in: a4ffdbd1 user: nab tags: revised_text, tip-466
02:33
merge main check-in: 6f534dcc user: culler tags: tip_765
01:30
Fix [c70fe74bc4]: Aqua displays incorrect menubar after destroying a window check-in: 44cbebb8 user: culler tags: core-9-0-branch
01:14
Fix [c70fe74bc4]: Aqua displays incorrect menubar after destroying a window check-in: b728a5f5 user: culler tags: trunk, main
2026-10-27
23:56
Revise comment per [43f57e5c]: retaining is the correct approach, rather than a workaround. check-in: 4806d905 user: chrstphrchvz tags: trunk, main
23:21
Add a comment explaining that [window isVisible] remains YES during the order out animation. closed check-in: 3a10276c user: culler tags: nab-aqua-menubar-owner
Changes
Unified Diff Side-by-Side Diff Patch
Changes to macosx/tkMacOSXMenu.c.
Changes to macosx/tkMacOSXPrivate.h.
Changes to macosx/tkMacOSXTest.c.
Changes to macosx/tkMacOSXWindowEvent.c.
Changes to macosx/tkMacOSXWm.c.
Changes to tests/constraints.tcl.
Changes to tests/dialog.test.
Changes to tests/menu.test.