Tk Source Code

Check-in [b86736bb]
Login

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

Overview
Comment:Fix [ed6c3a787d]: Modal window is not restored after "show desktop"
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: b86736bbf7d639326a9fcd538cff9b2b5194ce76768a4725176df9383e7312f5
User & Date: jan.nijtmans 2026-09-15 15:12:02.154
References
2026-09-25
10:24 • Closed ticket [3414089f]: Grab interaction problem on Windows-XP plus 4 other changes artifact: 9f560892 user: serhiy.storchaka
10:24 • Closed ticket [3009450f]: Can't deiconify window if a child toplevel is grabbed plus 4 other changes artifact: 70ca1123 user: serhiy.storchaka
10:24 • Closed ticket [2901053f]: iconified toplevel cannot be restored (Windows only) plus 4 other changes artifact: a6d29a7d user: serhiy.storchaka
10:21 • Ticket [3138512f] Tk applicatications after grab command (both local/global mo status still Open with 3 other changes artifact: 20bcd4ff user: serhiy.storchaka
2026-09-24
18:54 • Closed ticket [658279ff]: Possible transient bug plus 4 other changes artifact: 8d4a0caa user: serhiy.storchaka
2026-09-15
15:15 • Ticket [ed6c3a78] Modal window is not restored after "show desktop" (win+d) is pressed status still Open with 4 other changes artifact: 9effa5d4 user: jan.nijtmans
Context
2026-09-15
19:54
Fix [56eec524d7]: tk_getOpenFile -multiple (tkfbox): confirmed files are appended to the -initialfile selection instead of replacing it check-in: 995f3494 user: jan.nijtmans tags: trunk, main
15:12
Fix [ed6c3a787d]: Modal window is not restored after "show desktop" check-in: b86736bb user: jan.nijtmans tags: trunk, main
15:10
Fix [ed6c3a787d]: Modal window is not restored after "show desktop" check-in: 10583c42 user: jan.nijtmans tags: core-9-0-branch
00:38
Treeview demo fix check-in: f0042fee user: Brian tags: trunk, main
2026-09-14
09:15
Fix [ed6c3a787d]: Modal window is not restored after "show desktop" (win+d) is pressed (rebase on main branch)

"Show desktop" minimizes windows without WM_SYSCOMMAND, and SC_RESTORE was ignored for windows outside the grab tree, so the main window could not be restored from the taskbar, and neither could the modal dialog owned by it. closed check-in: 73e29b0c user: oehhar tags: ed6c3a78-win-grab-restore-main

Changes
Unified Diff Side-by-Side Diff Patch
Changes to win/tkWinWm.c.