Tk Source Code

View Ticket
Login
Ticket UUID: 220652
Title: Transient window madness
Type: Bug Version: obsolete: 8.3b2
Submitter: welch Created on: 2000-10-31 23:49:22
Subsystem: 68. Win Window Operations Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-03-23 02:18:31
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-22 19:18:31
Description:
OriginalBugID: 4026 Bug
Version: 8.3b2
SubmitDate: '2000-01-17'
LastModified: '2000-01-28'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: All Windows
FixedDate: '2000-01-28'
FixedInVersion: 8.3


Name:
Tim Baker

Comments:
When I remove the "wm resizable" line from the script, everything works as expected.

ReproducibleScript:
toplevel .topA
wm resizable .topA no no

toplevel .topB
wm transient .topB .topA

Put the above into a script and start wish83 (so that the console also appears), then source the script:
% source script.tcl

ObservedBehavior:
Notice that topB is still withdrawn, it should be mapped. Type
% wm deiconify .topB

topB appears, but the contents are not being drawn!
Now iconify topA by clicking the titlebar button, then deiconify topA by clicking the Windows Taskbar.
If you drag topB, you'll discover that there are now two Win32 window frames for topB!



This was introduced in 8.3b2 with reworking of the Windows wm.
Must be corrected ASAP. 
-- 01/17/2000 hobbs
All the related problems have been solved.  This has always been
an odd area, but now it should work more "as expected".  8.3 will
also have clearer docs for 'wm', most directly pointing to the
fact that there are some platform dependent aspects that must be
considered when using the 'wm' command. 
-- 01/28/2000 hobbs