Tk Source Code

Check-in [0f866663]
Login

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

Overview
Comment:Fix for [470331ffff]: Displaced menus do not stay open; [680660ffff]: Menu items accidentally selected; [1596662fff]: Menu behaviour at screen bottom; [f9d316a5e0]: Linux menu problem if menu near the bottom of screen; [4e7fbe8b4a]: X11: menus taller than the screen cannot be scrolled.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 0f86666370b4032af79110c580bbc7d437657cee288cde6e76c81cbf64584da6
User & Date: csaba 2026-09-30 16:26:51.709
References
2026-09-30
20:44 • Closed ticket [4e7fbe8b]: X11: menus taller than the screen cannot be scrolled plus 9 other changes artifact: f6dc1835 user: nemethi
20:35 • Closed ticket [f9d316a5]: linux menu problem if menu near the bottom of screen plus 7 other changes artifact: 616582d8 user: nemethi
20:33 • Closed ticket [1596662f]: Menu behaviour at screen bottom plus 11 other changes artifact: 51441e0c user: nemethi
20:31 • Closed ticket [680660ff]: Menu items accidentally selected plus 10 other changes artifact: ee74d092 user: nemethi
20:24 • Ticket [470331ff] Displaced Menus do not stay open. status still Open with 8 other changes artifact: 15b067af user: nemethi
Context
2026-09-30
18:29
[d41b4dc3a6] MS-Win: last cluster of a drawn range loses its trailing glyphs (combining marks) check-in: 2c6b901e user: oehhar tags: trunk, main
18:16
Fix [3313032]: ttk::spinbox does not expand its height. The field of the default TSpinbox layout fills the whole height of the spinbox, as in the classic and vista themes, and the text is centered. The arrows are grouped in the middle in the default, alt and clam themes, and take half of the height each in the classic and winnative themes, as in the classic spinbox and in the native up-down control. Tests spinbox-6.1 to 6.4. closed check-in: e0775213 user: serhiy.storchaka tags: spinbox-fill-height
17:44
Merge trunk. Keep the tests for [680884] (menubutton-10.x) together with the new menubutton tests from trunk. closed check-in: b3d0c765 user: serhiy.storchaka tags: menubutton-motion-unposted
17:43
Merge trunk. Renumber the test for [1723059] to menu-45.1, since trunk now has another menu-42.1. closed check-in: 257a67c1 user: serhiy.storchaka tags: menu-clone-cascade-destroy
17:21
Post a cascade menu to the left of its parent menu if it does not fit to the right of it, but fits to the left, instead of shifting it over the parent menu and the pointer. The cascades of a menu posted to the left are posted to the left too while they fit there. Tests menuDraw-17.4 to 17.6. Add a chain of nested cascades to the menu demo. check-in: 24451cef user: serhiy.storchaka tags: menu-cascade-flip
16:26
Fix for [470331ffff]: Displaced menus do not stay open; [680660ffff]: Menu items accidentally selected; [1596662fff]: Menu behaviour at screen bottom; [f9d316a5e0]: Linux menu problem if menu near the bottom of screen; [4e7fbe8b4a]: X11: menus taller than the screen cannot be scrolled. check-in: 0f866663 user: csaba tags: trunk, main
13:22
Version -> 9.1.1. Update changes.md with all bug-fixes since 9.1.0 so far check-in: 4e8438f6 user: jan.nijtmans tags: trunk, main
09:45
Do not scroll a menu when the pointer is over its side border (e.g. just after tk_popup), and not before the pointer moves after posting it. closed check-in: fea83f24 user: serhiy.storchaka tags: menu-scroll
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to doc/menu.n.
Changes to generic/tkMenu.c.
Changes to generic/tkMenu.h.
Changes to generic/tkMenuDraw.c.
Added library/demos/popup.tcl.
Changes to library/demos/widget.
Changes to library/menu.tcl.
Changes to library/ttk/menubutton.tcl.
Changes to tests/menu.test.
Changes to tests/menuDraw.test.
Changes to tests/menubut.test.
Changes to unix/tkUnixMenu.c.