Tk Source Code

Check-in [dce65730]
Login

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

Overview
Comment:Fix [873655ffff]: missing <Leave> event when posting cascade menus.

The <Leave> event generated by the grab of tk_popup was dropped if it was processed after the grab took effect, e.g. while postcascade waited for the cascade menu to be mapped.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | cascade-grab-leave
Files: files | file ages | folders
SHA3-256: dce65730e76fc5351cc3f27851e92712ffd29151adbae7f5a42e09edc2d8fe47
User & Date: serhiy.storchaka 2026-10-01 17:24:43.314
Original Comment: Fix [873655ffff]: missing <Leave> event when posting cascade menus.

The <Leave> event generated by the grab of tk_popup was dropped if the grab of postcascade was already in effect when it was processed.

Context
2026-10-15
07:10
Fix [873655ffff]: missing <Leave> event when posting cascade menus check-in: 44e24602 user: jan.nijtmans tags: trunk, main
2026-10-01
17:24
Fix [873655ffff]: missing <Leave> event when posting cascade menus.

The <Leave> event generated by the grab of tk_popup was dropped if it was processed after the grab took effect, e.g. while postcascade waited for the cascade menu to be mapped. closed check-in: dce65730 user: serhiy.storchaka tags: cascade-grab-leave

16:26
Fix for [3313032fff]: ttk::spinbox doesn't expand its height on Linux. check-in: c548a23a user: csaba tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tkGrab.c.
Changes to tests/menu.test.