in cvs head, this test fails:
==== winWm-5.1 UpdateGeometryInfo: menu resizing FAILED
==== Contents of test case:
set result {}
toplevel .t
frame .t.f -width 150 -height 50 -bg red
pack .t.f
update
set result [winfo height .t]
menu .t.m
.t.m add command -label foo
.t conf -menu .t.m
update
lappend result [winfo height .t]
.t.m add command -label "thisisreallylong"
.t.m add command -label "thisisreallylong"
update
lappend result [winfo height .t]
destroy .t
set result
---- Result was:
50 50 31
---- Result should have been (exact matching):
50 50 50
==== winWm-5.1 FAILED
Logged In: YES
user_id=191079
The result {50 50 31} is due to the wrapper of the menu
items. It is expected with the current implementation. In
other words the test scritps is wrong. To get the desired
result, please set the width of the frame to 500.