Tk Source Code

Check-in [8a0667c7]
Login

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

Overview
Comment:Fix [586f722cdd] and [220856ffff] in Tk_CoordsToWindow() on X11. A toplevel that was just withdrawn was still found while the window manager had not yet unmapped its frame, which made winfo-4.8 fail with a slow window manager; new test winfo-4.9. With a virtual root window manager, the point was checked against the toplevel with coordinates relative to the wrong window, and the search stopped at the first toplevel found in a frame, so [winfo containing] returned "" there (since 8.6.10).
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | x11-coords-to-window
Files: files | file ages | folders
SHA3-256: 8a0667c7fc06949c80e17d6822cb9bf7f61c211890fc669b4f7b7fe4fe73f1c4
User & Date: serhiy.storchaka 2026-10-24 08:35:32.753
References
2026-10-24
08:38 • Open ticket [220856ff]: winfo containing doesn't work on non-root E desktops plus 4 other changes artifact: 8b679723 user: serhiy.storchaka
08:38 • Ticket [586f722c] New test winfo-4.8 fails status still Open with 4 other changes artifact: 81d1e678 user: serhiy.storchaka
Context
2026-11-10
14:20
Fix for [586f722cdd]: New test winfo-4.8 fails check-in: d25d2eeb user: csaba tags: trunk, main
2026-10-24
08:35
Fix [586f722cdd] and [220856ffff] in Tk_CoordsToWindow() on X11. A toplevel that was just withdrawn was still found while the window manager had not yet unmapped its frame, which made winfo-4.8 fail with a slow window manager; new test winfo-4.9. With a virtual root window manager, the point was checked against the toplevel with coordinates relative to the wrong window, and the search stopped at the first toplevel found in a frame, so [winfo containing] returned "" there (since 8.6.10). closed check-in: 8a0667c7 user: serhiy.storchaka tags: x11-coords-to-window
2026-10-23
20:19
Fix [360434]: no longer replace "::" in manual page with "_" on installation check-in: a248516e user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/winfo.test.
Changes to unix/tkUnixWm.c.