Update to tk 8.5.19
This commit is contained in:
@@ -1023,6 +1023,20 @@ test textWind-17.9 {peer widget window configuration} {
|
||||
set res
|
||||
} {{-window {} {} {} {}} {-window {} {} {} {}} {-window {} {} {} .t.f} {-window {} {} {} .tt.t.f}}
|
||||
|
||||
test textWind-18.1 {embedded window deletion triggered by a script bound to <Map>} {
|
||||
catch {destroy .t .f}
|
||||
pack [text .t]
|
||||
for {set i 1} {$i < 100} {incr i} {.t insert end "Line $i\n"}
|
||||
.t window create end -window [frame .f -background red -width 80 -height 80]
|
||||
.t window create end -window [frame .f2 -background blue -width 80 -height 80]
|
||||
bind .f <Map> {.t delete .f}
|
||||
update
|
||||
# this shall not crash (bug 1501749)
|
||||
after 100 {.t yview end}
|
||||
tkwait visibility .f2
|
||||
update
|
||||
} {}
|
||||
|
||||
catch {destroy .t}
|
||||
option clear
|
||||
|
||||
|
||||
Reference in New Issue
Block a user