Tk Source Code

Check-in [ca38b646]
Login

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

Overview
Comment:Fix for [354fbe9fe6]: Windows: -appearance set with wm attributes is lost when the wrapper is recreated
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: ca38b6462f5dc5f137d8b6d266938bc7ca5cb8c81f6805e4e16b3ecd45f67c93
User & Date: csaba 2026-11-05 11:56:43.705
References
2026-11-05
12:07 • Closed ticket [354fbe9f]: Windows: -appearance set with wm attributes is lost when the wrapper is recreated plus 8 other changes artifact: d65499fe user: nemethi
Context
2026-11-05
14:39
Fix for [557441302b]: wm geometry returns wrong position for zoomed toplevels check-in: b362a698 user: csaba tags: trunk, main
14:28
Fix [3598564fff]: the default maximum size of a toplevel did not take into account the taskbar or panels, so a window whose natural size was larger than the screen extended under them. The default maximum size is now that of the work area, less the decorations of the window: of the monitor on Windows, from _NET_WORKAREA on X11, and the visible frame on macOS as before. On X11 the size of the decorations is used once it is known, instead of a fixed guess, and the natural size is recomputed when it changes. On X11 and macOS the natural size is now limited by the default maximum size, as it was on Windows. On X11 a toplevel is placed below the menubar also when the menubar height changes but the size of the wrapper does not. Tests wm-maxsize-2.6 and 2.7. check-in: 9daa5310 user: serhiy.storchaka tags: default-maxsize-workarea
12:00
Fix [2865578fff]: X11: the toplevel shrank when its menubar was set again while it was going fullscreen or zoomed. The size requested for the toplevel was computed before the height of the new menubar was known; the window manager could apply that request after restoring the window, and Tk took it for a resize by the user. Compute the menubar geometry before it is used. Test wm-geometry-2.6, with the helper waitForWm from win-zoomed-geometry. closed check-in: bb1cb9de user: serhiy.storchaka tags: x11-menubar-height
11:56
Fix for [354fbe9fe6]: Windows: -appearance set with wm attributes is lost when the wrapper is recreated check-in: ca38b646 user: csaba tags: trunk, main
06:01
use _eventInterp in showPreferencesIdleTask check-in: d55d0df0 user: culler tags: trunk, main
2026-10-21
15:56
Reference ticket [354fbe9fe6] in tests winWm-10.5 and 10.6. closed check-in: 075ec1ae user: nab tags: nab-win-appearance-rebuild
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to tests/winWm.test.
Changes to win/tkWinWm.c.