Tk Source Code

View Ticket
Login
2026-10-16
10:35 • Ticket [853398ff] unixEmbed-5.1 EmbedFocusProc procedure, FocusIn events FAILE status still Closed with 3 other changes artifact: 5cbe2d93 user: serhiy.storchaka
10:03
Fix [853398ffff]: unixEmbed-5.1 failed sporadically. Process pending events in the child before reading the result, as on main ([cf6996f47a]). check-in: 141570e5 user: serhiy.storchaka tags: core-8-6-branch
09:50 • Closed ticket [853398ff]: unixEmbed-5.1 EmbedFocusProc procedure, FocusIn events FAILE plus 9 other changes artifact: a6beab53 user: jan.nijtmans
2026-10-15
14:02
Fix [853398ffff]: unixEmbed-5.1 failed sporadically check-in: d3532aec user: jan.nijtmans tags: core-9-0-branch
07:29
Fix [853398ffff]: unixEmbed-5.1 failed sporadically check-in: cf6996f4 user: jan.nijtmans tags: trunk, main
2026-09-26
20:20 • Ticket [853398ff] unixEmbed-5.1 EmbedFocusProc procedure, FocusIn events FAILE status still Open with 3 other changes artifact: 2675e537 user: serhiy.storchaka
20:19
Fix [853398ffff]: unixEmbed-5.1 failed sporadically, because the child process returned the result before handling the FocusIn event. Process pending events first, as in unixEmbed-5.3. closed check-in: 9764b127 user: serhiy.storchaka tags: embed-focusin-test
2003-12-03
16:33 • New ticket [853398ff] unixEmbed-5.1 EmbedFocusProc procedure, FocusIn events FAILE. artifact: f25f8bcb user: mmokrejs

Ticket UUID: 853398
Title: unixEmbed-5.1 EmbedFocusProc procedure, FocusIn events FAILE
Type: Bug Version: obsolete: 8.4.5
Submitter: mmokrejs Created on: 2003-12-03 16:33:21
Subsystem: 86. Test Tools Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2026-10-16 10:35:08
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2026-10-16 09:50:58
Description:
On Tru64Unix 5.1A with tk8.4.5 I get:

$ ./tktest ../tests/unixEmbed.test -verbose e

==== unixEmbed-5.1 EmbedFocusProc procedure, FocusIn
events FAILED
---- Result was:

---- Result should have been (exact matching):
{focus in .t1}
==== unixEmbed-5.1 FAILED

unixEmbed.test: Total   33      Passed  29      Skipped
3       Failed  1
Number of tests skipped for each constraint:
        3       nonPortable
$
User Comments: serhiy.storchaka added on 2026-10-16 10:35:08:

Thank you, Jan, for the review and merging.

Backported to core-8-6-branch in [141570e59b]: unixEmbed-5.1 failed there in 1 of 18 runs too, and passes 30 of 30 with the fix.


jan.nijtmans added on 2026-10-16 09:50:58:

Fixed in [cf6996f47a898f9c|trunk] and core-9-0-branch

Many thanks!


serhiy.storchaka added on 2026-09-26 20:20:27:

unixEmbed-5.1 still fails sporadically (about 1 of 6 runs on Linux): the child process returns $x before it has handled the FocusIn event.

Proposed fix in branch embed-focusin-test: process pending events in the child first (update; set x), as unixEmbed-5.3 does.