This is the mail archive of the
mailing list for the Insight project.
Insight windows problems.
- To: insight at sources dot redhat dot com
- Subject: Insight windows problems.
- From: Ian Roxborough <irox at redhat dot com>
- Date: Tue, 16 Oct 2001 14:15:58 -0700
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
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.