Tk Source Code

View Ticket
Login
Ticket UUID: 219917
Title: Making an unmapped window transient maps it again
Type: Bug Version: obsolete: 8.0.4
Submitter: welch Created on: 2000-10-31 18:43:43
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2000-11-01 01:43:44
Resolution: Duplicate Closed By: welch
    Closed on: 2000-10-31 18:43:44
Description:
OriginalBugID: 1165 Bug
Version: 8.0.4
SubmitDate: '1999-02-03'
LastModified: '1999-09-16'
Severity: MED
Status: Closed
Submitter: stanton
ChangedBy: hobbs
RelatedBugIDs: 572
OS: All
OSVersion: NA
Machine: NA
FixedInVersion: NA
ClosedDate: '1999-09-16'


I think I have found a bug in the "wm transient" command. Try the
following: 

toplevel .t
wm withdraw .t
wm transient .t .

The "wm transient" command causes the toplevel to be mapped !


02/03/1999 18:27 - stanton - This happens because the wm code tries to ensure the transient is in the same state as its master.  Unfortunately this is inappropriate if the master is currently mapped and the transient window isn't.  This logic needs to be beefed up.