Tk Source Code

Check-in [19dc130e]
Login

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

Overview
Comment:Fix [2ef5dd8036] and [307b06cbc2]: Aqua: "pack forget" leaves window on screen
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 19dc130ec33220b0524cbac2f29dde5f4c1c0e39c390581f6106454f52a444a8
User & Date: jan.nijtmans 2026-10-06 09:48:53.418
References
2026-10-06
10:03 • Closed ticket [2ef5dd80]: Aqua: "pack forget" leaves window on screen plus 7 other changes artifact: 21167834 user: jan.nijtmans
Context
2026-10-06
10:45
Fix [80213d1b1c]: "CalculateDisplayLineHeight called with bad indexPtr" panic in debug mode (textDisp-11.19).

Since [24ac48f567], TkTextUpdateOneLine passes the start of an entirely elided line without moving it to the display line start, even if the line is merged with the previous line. Such a line is laid out as its own zero-height display line, so the result is correct, but the debug check rejected it. Skip the check for it, and update the comments. Add test textDisp-19.20. closed check-in: c026c66c user: serhiy.storchaka tags: text-elided-debug-check

10:24
Missing changelog entry check-in: 1da33133 user: jan.nijtmans tags: trunk, main
10:00
Fix [2ef5dd8036] and [307b06cbc2]: Aqua: "pack forget" leaves window on screen check-in: e1e4cbd6 user: jan.nijtmans tags: core-9-0-branch
09:48
Fix [2ef5dd8036] and [307b06cbc2]: Aqua: "pack forget" leaves window on screen check-in: 19dc130e user: jan.nijtmans tags: trunk, main
2026-10-05
21:58
Merge 9.0 check-in: 9d354b99 user: dgp tags: trunk, main
2026-09-29
15:28
Fix [2ef5dd8036] and [307b06cbc2]: Aqua: "pack forget" leaves window on screen. Since 9.0, unmapping a non-toplevel window no longer redrew its toplevel, so the area from which the window was removed was not redrawn and no Expose events were generated. Schedule the redraw in an idle task, as XMapWindow and XDestroyWindow do. closed check-in: 1b1c0ed6 user: serhiy.storchaka tags: aqua-unmap-redraw
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to macosx/tkMacOSXDraw.c.
Changes to macosx/tkMacOSXHLEvents.c.
Changes to macosx/tkMacOSXMenus.c.
Changes to macosx/tkMacOSXSubwindows.c.
Changes to macosx/tkMacOSXWm.c.
Changes to win/tkWinWm.c.