From c6dbab7080f3659c705a1140bcda6925da5d45d1 Mon Sep 17 00:00:00 2001 From: fvogel Date: Sun, 25 Sep 2022 13:17:38 +0000 Subject: Since [64999025af], frame-3.10 now fails at Github Actions on macOS with aqua (xcode or clang), quite repeatably. Restore frame-3.10 as it is in core-8-6-branch. --- tests/frame.test | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/frame.test b/tests/frame.test index 84d6b7d..fcd8867 100644 --- a/tests/frame.test +++ b/tests/frame.test @@ -673,13 +673,19 @@ test frame-3.10 {TkCreateFrame procedure, -use option} -constraints { } -body { toplevel .t -container 1 -width 300 -height 120 wm geometry .t +0+0 - updateWidgets + if {[tk windowingsystem] eq "aqua"} { + update idletasks + } else { + update + } option add *x.use [winfo id .t] toplevel .x -width 140 -height 300 -bg green - if {[tk windowingsystem] ne "aqua"} { - tkwait visibility .x + if {[tk windowingsystem] eq "aqua"} { + update idletasks + } else { + tkwait visibility .x + update } - updateWidgets list [expr {[winfo rootx .x] - [winfo rootx .t]}] \ [expr {[winfo rooty .x] - [winfo rooty .t]}] \ [winfo width .t] [winfo height .t] -- cgit v0.12