| Description: |
The recent changes to the Windows support of embedded
windows over the last few months seem to have
introduced a number of test failures:
embed 1.4, 1.5
frame 2.5
wm-deiconify 1.5, 2.4
The details follow.... (this is on WinXP-sp2)
embed.test
==== embed-1.4 TkpUseWindow procedure, -container must
be set FAILED
==== Contents of test case:
deleteWindows
toplevel .container
list [catch {toplevel .embd -use [winfo id
.container]} err] $err
---- Result was:
1 {the window to use is not a Tk container}
---- Result should have been (exact matching):
1 {window ".container" doesn't have -container option set}
==== embed-1.4 FAILED
==== embed-1.5 TkpUseWindow procedure, -container must
be set FAILED
==== Contents of test case:
deleteWindows
frame .container
list [catch {toplevel .embd -use [winfo id
.container]} err] $err
---- Result was:
1 {the window to use is not a Tk container}
---- Result should have been (exact matching):
1 {window ".container" doesn't have -container option set}
==== embed-1.5 FAILED
frame.test
==== frame-2.5 toplevel configuration options FAILED
==== Contents of test case:
catch {destroy .t}
toplevel .t -width 200 -height 100
wm geometry .t +0+0
list [catch {.t configure -use 0x44022} msg] $msg
[.t configure -use]
---- Result was:
1 {window "0x44022" doesn't exist} {-use use Use {} {}}
---- Result should have been (exact matching):
1 {can't modify -use option after widget is created}
{-use use Use {} {}}
==== frame-2.5 FAILED
wm.test
==== wm-deiconify-1.5 usage FAILED
==== Contents of test case:
frame .t.f -container 1
toplevel .embed -use [winfo id .t.f]
wm deiconify .embed
---- Result was:
can't deiconify .embed: the container does not support
the request
---- Result should have been (exact matching):
can't deiconify .embed: it is an embedded window
==== wm-deiconify-1.5 FAILED
==== wm-iconify-2.4 Misc errors FAILED
==== Contents of test case:
frame .t.f -container 1
toplevel .t2 -use [winfo id .t.f]
wm iconify .t2
---- Result was:
can't iconify .t2: the container does not support the
request
---- Result should have been (exact matching):
can't iconify .t2: it is an embedded window
==== wm-iconify-2.4 FAILED
|