| Description: |
OriginalBugID: 642 Bug
Version: 8.0p2
SubmitDate: '1998-05-25'
LastModified: '1998-06-04'
Severity: MED
Status: Closed
Submitter: stanton
ChangedBy: stanton
OS: All Windows
OSVersion: NA
Machine: NA
FixedDate: '2000-10-31'
FixedInVersion: NA
ClosedDate: '1998-06-04'
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 !
The culprit seems to be a line of code in tkWInWm.c that
handles the "wm transient" command:
line 2056:
/*
* Ensure that the transient window is either mapped or
* unmapped like its master.
*/
TkpWmSetState(winPtr, NormalState);
Commenting this out seems to stop the unwanted mapping and doesn't
have any bad side-effects as far as I can see.
---
Mark Gammon Tel: int+44 (0) 1223 237111
Principal Applications Engineer Fax: int+44 (0) 1223 234192
FEGS Ltd, Oakington House e-mail: [email protected]
Oakington, Cambridge CB4 5AF web: http://www.fegs.co.uk
England
This is a duplicate of bug 30.
|