Tk Source Code

Check-in [f98ef68b]
Login

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

Overview
Comment:unixEmbed tests [a4fa3ad2d6]: make the focus tests independent of the previous tests. Restart the child process in the cleanup of unixEmbed-5.4 before destroying the container, so that its focused entry is not redrawn after the container is destroyed (which killed it with an X error, see [f1fe739a4f]) and its focus state does not affect the following tests. Move the pointer away in the setup of unixEmbed-5.1 to 5.4, 7.1 and 7.2, as in 8.1: without a window manager the child got the focus implicitly if its main window appeared under the pointer (see [0c3bb74e37]).
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | x11-embed-focus-return
Files: files | file ages | folders
SHA3-256: f98ef68b4967dc0aa952b7303f6903b656e9555416a380ab7e7d591bd16cef1b
User & Date: serhiy.storchaka 2026-10-09 08:37:24.876
Context
2026-10-19
17:13
Merge main. Main contains the earlier check-ins of this branch in its history, but not the fix for [a4fa3ad2d6] and test unixEmbed-5.4, which the merge removed; restore them. Merging this branch into main now brings the fix. check-in: 11bfb379 user: serhiy.storchaka tags: x11-embed-focus-return
2026-10-09
10:18
Fix for [adb71ed70b]: windows: after using tk_messageBox, parent window remains unresponsive, and [df09b0665c]: entry can't get the focus after tk_getSaveFile or tk_getOpenFile is called. closed check-in: 263dbebf user: csaba tags: mistake
08:37
unixEmbed tests [a4fa3ad2d6]: make the focus tests independent of the previous tests. Restart the child process in the cleanup of unixEmbed-5.4 before destroying the container, so that its focused entry is not redrawn after the container is destroyed (which killed it with an X error, see [f1fe739a4f]) and its focus state does not affect the following tests. Move the pointer away in the setup of unixEmbed-5.1 to 5.4, 7.1 and 7.2, as in 8.1: without a window manager the child got the focus implicitly if its main window appeared under the pointer (see [0c3bb74e37]). check-in: f98ef68b user: serhiy.storchaka tags: x11-embed-focus-return
2026-10-08
19:52
Fix [a4fa3ad2d6]: event misbehavior with certain widgets when embedding check-in: 1dea0b97 user: jan.nijtmans tags: x11-embed-focus-return
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/unixEmbed.test.