Description: |
OriginalBugID: 6094 Bug
Version: 8.3.1
SubmitDate: '2000-08-09'
LastModified: '2000-08-09'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: ericm
OS: All Windows
Machine: Pentium II
ClosedDate: '2000-08-09'
Name:
Bjoern Ruff
CVS:
30-July-2000
Extensions:
itcl
ReproducibleScript:
proc dia {} {
set dialog [iwidgets::messagedialog .deleteTracks -title "Messagedialog" -text "Hi!" -bitmap questhead -modality application]
$dialog center
update idletasks
$dialog activate
destroy $dialog
}
# change 30 to 31 or vice versa
load itcl31
load itk31
package require Iwidgets 3.0
namespace import itcl::*
namespace import itk::*
toplevel .top
button .top.b -text Dialog -command dia
button .top.e -text End -command "destroy ."
pack .top.b
pack .top.e
#
# wm withdraw . works with 8.0.5 but not with 8.3.1
# if . withdrawn the messagedialog will not appear
#
wm withdraw .
focus .top
wm deiconify .top
update
ObservedBehavior:
When pressing the Dialog Button the Dialog does not appear
when using 8.3.1
ok when using 8.0.5
8.3 corrected the behavior of transients in Tk to correctly
follow the style for MS Windows transients - if the parent is
not shown, the child should not be shown. This requires more
correct coding in your applications (it is no longer acceptable to
expect a transient of a withdrawn window to be visible).
Eric Melski The Other Tcl Guy
ericm at ajubasolutions.com Ajuba Solutions
-- 08/09/2000 ericm
|