| Description: |
On Windows XP Home SP2.
This also happens in 8.4.9.
2 examples. Copy/paste each line into the wish console
separately, or copy all lines (except the last line) of
each example. Comments show the problem.
# Example 1 -- transient won't show itself
toplevel .t1 ; wm withdraw .t1 ; update
toplevel .t2 ; wm withdraw .t2 ; wm transient .t2 .t1 ;
update
wm deiconify .t1 ; update ; # Displays ok
wm deiconify .t2 ; update ; # Doesn't display
raise .t2 ; # Now displays. Or minimize .t1 and restore -
> .t2 appears
# Example 2 -- transient isn't transient
toplevel .t1 ; wm withdraw .t1 ; update
toplevel .t2 ; wm withdraw .t2 ; update
wm transient .t2 .t1 ; update
wm deiconify .t1 ; update ; # Displays ok
wm deiconify .t2 ; update ; # Displays ok, but not
transient to .t1
wm withdraw .t1 ; update ; wm deiconify .t1 ; # Now .t2
appears/acts transient
|