From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: Andy Hare Cc: insight@sources.redhat.com Subject: Re: Insight windows problems. Date: Mon, 19 Nov 2001 12:08:00 -0000 Message-ID: <3BF977D4.F2B74C79@redhat.com> References: <3BCCA38E.53B8418E@redhat.com> <011201c17133$90876e30$0100000a@dualbeast> X-SW-Source: 2001-q4/msg00332.html Message-ID: <20011119120800.7Ar4gejcqzgqVFTMiqEsi-1gZ56N7pUgFMBWAcVAMGs@z> Hi, This will stop the problem you are talking about: http://sources.redhat.com/ml/insight/2001-q4/msg00160.html You will run into a crashing problem after that (I've posted emails about this as well). If I get a chance I'll post a really nasty (but short) fix which will stop the crashing Win32 (then hopefully I'll get time to fix the real problem (why are the combobox popup windows not being destroy when used in a modal dialog...). Anyway, nice to see you've got it compiled, Ian. Andy Hare wrote: > > Ian, > > Have you found the answer to this problem, I think it sounds like the > problem I am having with the current CVS of Insight. It builds OK now but > the dialogs do not get displayed. For example I cannot get the target dialog > to appear, and if I open the source I get the source selection dialog but > after that no other input is allowed into Insight, I have to kill it via the > task manager. > > Running Windows 2K and latest cygwin. > > Andy Hare > www.ahare.btinternet.co.uk > > ----- Original Message ----- > From: "Ian Roxborough" > To: > Sent: Tuesday, October 16, 2001 9:15 PM > Subject: 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.