diff options
author | culler <culler> | 2024-06-10 15:37:44 (GMT) |
---|---|---|
committer | culler <culler> | 2024-06-10 15:37:44 (GMT) |
commit | 338762b617f55c9699753c8f38f582bf70b23dee (patch) | |
tree | 8d05b190e6d88eb530660fc96c5c59d3ffa2597e /tests/pack.test | |
parent | 06a4ba5407ebd451d8ab5d56bb06fad34f24766f (diff) | |
parent | 3f0a126393198d3f6e0dff58e479ee9cab5b213d (diff) | |
download | tk-338762b617f55c9699753c8f38f582bf70b23dee.zip tk-338762b617f55c9699753c8f38f582bf70b23dee.tar.gz tk-338762b617f55c9699753c8f38f582bf70b23dee.tar.bz2 |
New branch: merges the crossing events fix (sans processevents) with cgimage drawing
Diffstat (limited to 'tests/pack.test')
-rw-r--r-- | tests/pack.test | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/pack.test b/tests/pack.test index 0731125..201bf9f 100644 --- a/tests/pack.test +++ b/tests/pack.test @@ -1553,6 +1553,11 @@ test pack-17.2 {PackLostContentProc procedure} -setup { # into account while the window is unmapped. # pack-18.1.2 checks that, on Windows, width/height changes are taken into # account on window remapping. +# +# While these tests pass on macOS, one can see by watching the tests +# that the window .pack is sometimes black, even though the frame is +# colored. So, evidently, even though the size changes are honored, +# the window is sometimes not completely configured. test pack-18.1.1 {unmap content when container unmapped} -constraints { macOrUnix failsOnUbuntu failsOnXQuarz } -setup { @@ -1562,7 +1567,8 @@ test pack-18.1.1 {unmap content when container unmapped} -constraints { # as the screen (screen switch causes scale and other tests to fail). wm geometry .pack +100+100 } -body { - frame .pack.a -width 100 -height 50 -relief raised -bd 2 + frame .pack.a -width 100 -height 50 -relief raised -bd 2 -bg green + after 100 pack .pack.a update set result [winfo ismapped .pack.a] @@ -1585,7 +1591,7 @@ test pack-18.1.2 {unmap content when container unmapped} -constraints { # as the screen (screen switch causes scale and other tests to fail). wm geometry .pack +100+100 } -body { - frame .pack.a -width 100 -height 50 -relief raised -bd 2 + frame .pack.a -width 100 -height 50 -relief raised -bd 2 -bg green pack .pack.a update set result [winfo ismapped .pack.a] @@ -1606,8 +1612,8 @@ test pack-18.2 {unmap content when container unmapped} -constraints {failsOnUbun # as the screen (screen switch causes scale and other tests to fail). wm geometry .pack +100+100 } -body { - frame .pack.a -relief raised -bd 2 - frame .pack.b -width 70 -height 30 -relief sunken -bd 2 + frame .pack.a -relief raised -bd 2 -bg green + frame .pack.b -width 70 -height 30 -relief sunken -bd 2 -bg red pack .pack.a pack .pack.b -in .pack.a update |