Tk Source Code

Check-in [bb1cb9de]
Login

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

Overview
Comment: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.
Downloads: See separate download page
Timelines: family | ancestors | x11-menubar-height
Files: files | file ages | folders
SHA3-256: bb1cb9dec38b2ec22995f6453aa26bdae8123b9ea0644dba412862169bf6abd8
User & Date: serhiy.storchaka 2026-11-05 12:00:07.596
Context
2026-11-05
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
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/wm.test.
Changes to unix/tkUnixMenu.c.