This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Insight windows problems.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]