Tk Source Code

Check-in [bc5e8ae5]
Login

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

Overview
Comment:Fix for [bffa794b1b]: "BadAlloc (insufficient resources for operation)" in the grid command.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: bc5e8ae5602f895a1108a4d18e496a56b8ae2515c87e0c966f21f319e53d69b9
User & Date: csaba 2026-10-03 14:23:34.636
References
2026-10-03
15:15 • Closed ticket [bffa794b]: "BadAlloc (insufficient resources for operation)" in the grid command plus 8 other changes artifact: d7c0e4d8 user: nemethi
Context
2026-10-03
15:09
Corrected the file changes.md. check-in: 3f9ca6cc user: csaba tags: trunk, main
15:08
Fix for [bffa794b1b]: "BadAlloc (insufficient resources for operation)" in the grid command. check-in: dee12bec user: csaba tags: core-8-6-branch
15:02
Fix for [bffa794b1b]: "BadAlloc (insufficient resources for operation)" in the grid command. check-in: f3849ef4 user: csaba tags: core-9-0-branch
15:01
Fix [fecd6bd2fa]: linux only: window -zoomed attribute is restored when it should not be. CheckNetWmState only updated the current attributes, so mapping the window again restored the stale requested ones; keep the states changed through the window manager unless the window is withdrawn. closed check-in: 1fd4e8ee user: serhiy.storchaka tags: x11-keep-wm-state
14:49
Fix [897f6672f7]: Windows: wm deiconify restores a maximized window as normal. TkpWinToplevelDeiconify only checked the ZoomState, which the window loses when withdrawn; also check the maximized style of the hidden wrapper. closed check-in: 4ee04b9e user: serhiy.storchaka tags: win-deiconify-zoomed
14:23
Fix for [bffa794b1b]: "BadAlloc (insufficient resources for operation)" in the grid command. check-in: bc5e8ae5 user: csaba tags: trunk, main
13:25
Fix [8bd39bede9]: word wrap regressions since [e3ef73ae0b]. check-in: 9bc623c8 user: nab tags: trunk, main
2026-10-02
18:50
Fix [bffa794b1b]: BadAlloc (insufficient resources for operation) in the grid command.

On X11, a widget larger than 32767 pixels, e.g. a label with a long text, crashed the application: X servers refuse to create larger pixmaps, and the protocol truncates sizes larger than 65535. Tk_GetPixmap() now clips the dimensions to 32767. Drawing beyond is lost, but there is no crash. closed check-in: c9111055 user: serhiy.storchaka tags: x11-pixmap-size-limit

Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to tests/unixButton.test.
Changes to unix/tkUnixXId.c.