Tk Source Code

Check-in [bd8005bc]
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. Rebased on main.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | x11-menubar-height
Files: files | file ages | folders
SHA3-256: bd8005bcdb831f0511035440118eb4a908cdda8e5faee9306b04182bf1bc36db
User & Date: serhiy.storchaka 2026-11-05 14:49:37.501
Context
2026-11-12
09:41
Fix for [2865578fff]: Changing menu in fullscreen mode messes with geometry check-in: 349c3b24 user: csaba tags: trunk, main
2026-11-05
14:49
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. Rebased on main. closed check-in: bd8005bc user: serhiy.storchaka tags: x11-menubar-height
14:39
Fix for [557441302b]: wm geometry returns wrong position for zoomed toplevels check-in: b362a698 user: csaba tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/wm.test.
Changes to unix/tkUnixMenu.c.