This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Insight windows problems.
- From: Ian Roxborough <irox at redhat dot com>
- To: Andy Hare <ahare at btinternet dot com>
- Cc: insight at sources dot redhat dot com
- Date: Mon, 19 Nov 2001 13:21:24 -0800
- Subject: Re: Insight windows problems.
- References: <3BCCA38E.53B8418E@redhat.com> <011201c17133$90876e30$0100000a@dualbeast>
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" <irox@redhat.com>
> To: <insight@sources.redhat.com>
> 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.