| Description: |
tk cvs head, built on solaris 9 with sun c compiler,
and test suite display via exceed 10.0.0.12 on win xp.
Window manager is Sun GNOME metacity.
unixWm.test
==== unixWm-4.1 moving window while withdrawn FAILED
==== Contents of test case:
wm withdraw .t
sleep 200
wm geom .t $geom
update
wm deiconify .t
wm geom .t
---- Result was:
100x150+57+80
---- Result should have been (exact matching):
100x150+20+80
==== unixWm-4.1 FAILED
==== unixWm-4.3 moving window while withdrawn FAILED
==== Contents of test case:
wm withdraw .t
sleep 200
wm geom .t $geom
update
wm deiconify .t
wm geom .t
---- Result was:
100x150+57+39
---- Result should have been (exact matching):
100x150+0+0
==== unixWm-4.3 FAILED
==== unixWm-48.13 ParseGeometry procedure, resize
causes window to move FAILED
==== Contents of test case:
catch {destroy .t}
toplevel .t -width 200 -height 200
wm geom .t +0+0
update
wm geom .t -0-0
update
set x [winfo x .t]
set y [winfo y .t]
wm geometry .t 150x300
update
list [expr [winfo x .t] - $x] [expr [winfo y .t] -
$y] [winfo width .t] [winfo
height .t]
---- Result was:
0 0 150 300
---- Result should have been (exact matching):
50 -100 150 300
==== unixWm-48.13 FAILED
==== unixWm-50.1 Tk_CoordsToWindow procedure, finding a
toplevel, x-coords FAILED
==== Contents of test case:
deleteWindows
toplevel .t -width 300 -height 400 -bg green
wm geom .t +40+0
tkwait visibility .t
toplevel .t2 -width 100 -height 80 -bg red
wm geom .t2 +140+200
tkwait visibility .t2
raise .t2
set x [winfo rootx .t]
set y [winfo rooty .t]
list [winfo containing [expr $x - 30] [expr $y +
250]] [winfo containing [expr
$x - 1] [expr $y + 250]] [winfo containing $x [expr
$y + 250]] [winfo containing
[expr $x + 99] [expr $y + 250]] [winfo containing
[expr $x + 100] [expr $y + 250]
] [winfo containing [expr $x + 199] [expr $y + 250]]
[winfo containing [expr $x +
200] [expr $y + 250]] [winfo containing [expr $x +
220] [expr $y + 250]]
---- Result was:
{} {} {} .t .t .t .t .t
---- Result should have been (exact matching):
{} {} .t {} .t2 .t2 {} .t
==== unixWm-50.1 FAILED
==== unixWm-50.8 Tk_CoordsToWindow procedure, more
basics FAILED
==== Contents of test case:
catch {destroy .t}
toplevel .t -width 400 -height 300 -bg green
wm geom .t +0+0
frame .t.f -width 200 -height 100 -bd 2 -relief raised
place .t.f -x 100 -y 100
frame .t.f.f -width 200 -height 100 -bd 2 -relief
raised
place .t.f.f -x 100 -y 0
update
set x [winfo rooty .t]
set y [expr [winfo rooty .t] + 150]
list [winfo containing [expr $x + 50] $y] [winfo
containing [expr $x + 150] $y
] [winfo containing [expr $x + 250] $y] [winfo
containing [expr $x + 350] $y] [w
info containing [expr $x + 450] $y]
---- Result was:
.t.f .t.f.f .t {} {}
---- Result should have been (exact matching):
.t .t.f .t.f.f .t {}
==== unixWm-50.8 FAILED
==== unixWm-50.10 Tk_CoordsToWindow procedure, unmapped
windows FAILED
==== Contents of test case:
catch {destroy .t}
toplevel .t -width 200 -height 200 -bg green
wm geometry .t +0+0
frame .t.f -width 150 -height 150 -bd 2 -relief raised
place .t.f -x 25 -y 25
tkwait visibility .t.f
set result [list [winfo containing 100 100]]
place forget .t.f
update
lappend result [winfo containing 100 100]
---- Result was:
.t .t
---- Result should have been (exact matching):
.t.f .t
==== unixWm-50.10 FAILED
|
| User Comments: |
jenglish added on 2006-11-13 07:49:58:
Logged In: YES
user_id=68433
The results for 4.1 and 4.3 aren't unexpected (I get the
same thing here) -- maybe they should be marked
"nonportable"? (Actual results are WM-dependent, the ICCCM
doesn't guarantee that the window will be placed where the
test suite thinks it will be placed.)
Can't replicate the other results, but it looks like the
cause is similar.
(In general, test suite failures in unixWm.test are to be
expected if you're not running on the same system the tests
were developed on.)
|