summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-10-30 20:16:38 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-10-30 20:16:38 (GMT)
commit0ac9408c31c8eaeafab81b43654706393ff5f86d (patch)
treed85c004120cbd9565cd89c317ec6194624ac9409
parentce1ffe482eddaadc89c0622cb6b5df3ac11db9da (diff)
downloadtk-0ac9408c31c8eaeafab81b43654706393ff5f86d.zip
tk-0ac9408c31c8eaeafab81b43654706393ff5f86d.tar.gz
tk-0ac9408c31c8eaeafab81b43654706393ff5f86d.tar.bz2
Added test grid-23 (currently failing) showing bug [6aea69fccb] - grid configure -in problem
-rw-r--r--tests/grid.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/grid.test b/tests/grid.test
index c1d9d06..cba69db 100644
--- a/tests/grid.test
+++ b/tests/grid.test
@@ -1998,6 +1998,25 @@ test grid-22.5 {remove} {
grid info .c
} {-in . -column 0 -row 0 -columnspan 2 -rowspan 2 -ipadx 0 -ipady 0 -padx {3 5} -pady {4 7} -sticky ns}
grid_reset 22.5
+
+test grid-23 {grid configure -in leaked from previous master - bug
+ 6aea69fccbb266b7f0437686379fbe5b55442958} {
+ frame .f
+ frame .g
+ pack .f .g
+ text .t
+ grid .t -in .f
+ pack forget .f
+ update
+ grid .t -in .g
+ # .t is now managed by .g; following lines must have no effect on .t
+ pack .f
+ update
+ pack forget .f
+ update
+ winfo ismapped .t ; # must return 1
+} {1}
+grid_reset 23
# cleanup
cleanupTests