This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Windows crashes...
- To: insight at sources dot redhat dot com
- Subject: Windows crashes...
- From: Ian Roxborough <irox at redhat dot com>
- Date: Mon, 22 Oct 2001 10:45:50 -0700
Hi,
I've been pounding on Insight under Windows and I'm having
a heck of a time tracking down this crasher bug. So I've
decide to seek the advice of others.
The problem would seem to be something in the background
freaking out every now and then. The easiest way to reproduce
this bug is to open and close (using "Ok") a modal dialog (e.g. prefs)
a couple of times and then change focus to another (non Insight)
window, count to three and Insight will vanish. The problem
can happen at many other place, this is just the quickest and
most reliable place.
Is there anything that would be executed on the loss of
application focus?
Any tips/pointer/history welcome.
Ian.
P.S.: This is my fix for the modal dialog problem, I'll
formally submit it once I've got the crashing problem
solved.
Index: managedwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/managedwin.itb,v
retrieving revision 1.17
diff -r1.17 managedwin.itb
258c258
< wm transient $top .
---
> wm transient $top [winfo toplevel [namespace tail [lindex [ManagedWin::find SrcWin] 0]]]