From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: insight@sources.redhat.com Subject: Windows crashes... Date: Mon, 22 Oct 2001 10:33:00 -0000 Message-id: <3BD45B4E.5EA831B5@redhat.com> X-SW-Source: 2001-q4/msg00160.html 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]]]