Tk Source Code

Check-in [b56b1a05]
Login

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

Overview
Comment:Fix for [562c3a3da5]: transient windows don't appear on Windows
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: b56b1a051f486279fdd41e587076616dfd75fd71f69141196afe4522475eff98
User & Date: csaba 2026-10-24 17:10:14.012
References
2026-10-24
17:42 • Closed ticket [562c3a3d]: transient windows don't appear on Windows plus 8 other changes artifact: f2bde156 user: nemethi
Context
2026-10-25
11:35
Fix for [220931ffff]: option get command responding to invalid input check-in: 0a7003b0 user: csaba tags: trunk, main
10:12
Fix [cc736f8692]: Ctrl+Left (<<PrevWord>>, <<SelectPrevWord>>, Meta-b, Meta-BackSpace, Meta-Delete) in the text widget skipped a one-character word just before the cursor: TextPrevPos passes "end", the index of the last character, so the word starting there was not found. New ::tk::TextPrevWord appends a space so that "end" is the cursor position. New tests text-42.1 and text-42.2. check-in: edb46a27 user: serhiy.storchaka tags: text-prev-word-one-char
07:57
Fix [3464070fff]: when a menu entry could not be created, MenuNewEntry() freed it but left it in the entries array, and on Windows no error message was set. The slot is now removed again, and on Windows running out of menu command IDs gives "No more menu entries can be allocated." with error code TK MENU SYSTEM_RESOURCES. GetNewID() also tries the last allocated ID before giving up. New test winMenu-36.1. closed check-in: 18d8a385 user: serhiy.storchaka tags: menu-new-entry-error
07:51
Fix [3515522fff]: [wm forget] did not release the menubar of the toplevel, so destroying it or the menu later crashed on Windows (TkWinGetWrapperWindow() dereferenced the NULL wmInfoPtr of the frame). The menubar is now released when a toplevel becomes a frame, and TkWinGetWrapperWindow() returns NULL for a window which is not a toplevel. New tests wm-forget-2.2 and wm-forget-2.3. closed check-in: 0a7452d8 user: serhiy.storchaka tags: wm-forget-release-menubar
00:22
Fix [02d5f7cc]: canvText test failures when using dark mode closed check-in: a50a3641 user: chrstphrchvz tags: bug-02d5f7cc
2026-10-24
17:22
Fix for [562c3a3da5]: transient windows don't appear on Windows check-in: 83373d40 user: csaba tags: core-9-0-branch
17:10
Fix for [562c3a3da5]: transient windows don't appear on Windows check-in: b56b1a05 user: csaba tags: trunk, main
12:41
Fix for [c81e0ccee2]: Named font late creation check-in: f89023e3 user: csaba tags: trunk, main
2026-09-27
18:04
Fix [562c3a3da5]: on Windows a transient withdrawn before its container was mapped could not be deiconified. TkWmMapWindow() returned early without creating the wrapper, so the window stayed never mapped and "wm deiconify" only recorded the new state. Now the wrapper is created withdrawn, as on X11 and macOS. New test wm-transient-8.2. closed check-in: 90f2a85d user: serhiy.storchaka tags: win-transient-deiconify
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to tests/wm.test.
Changes to win/tkWinWm.c.