Insight windows problems.

Ian Roxborough irox@redhat.com
Tue Oct 16 14:03:00 GMT 2001


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.



More information about the Insight mailing list