From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: insight@sources.redhat.com Subject: Insight windows problems. Date: Tue, 16 Oct 2001 14:03:00 -0000 Message-id: <3BCCA38E.53B8418E@redhat.com> X-SW-Source: 2001-q4/msg00136.html Hi, I'm pretty close to fixing the modal dialog problems on Windows. The problem seem to be related to using the "." window as a master for our transient modal windows. I'm not sure if it's a Tk bug or what, but doing: wm transient $top . will cause the $top toplevel to assume some properties of ".", namely the mapping (or lack of it). Actually this may have something to do with the "wm group" a few lines before: wm group $top . Either way, changing it be: wm transient $top $srcwin seems to fix the dialog problem (where $srcwin is the path of the source window). But now I'm seeing (a related?) problem where after using a modal dialog if I remove focus from Insight for two seconds Insight will exit quickly and quietly. If I find that the exiting problem isn't related to the dialog problem I'll post a patch. Ian.