home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!enterpoop.mit.edu!paperboy.osf.org!paperboy!drand
- From: drand@spinner.osf.org (Douglas S. Rand)
- Subject: Re: Warning from XtRemoveGrab
- In-Reply-To: Hellan@notis.telemax.no's message of 6 Jan 93 06:06:54 GMT
- Message-ID: <DRAND.93Jan7105602@spinner.osf.org>
- Sender: news@osf.org (USENET News System)
- Organization: Open Software Foundation
- References: <"21613.93.01.06.13:06*.S=Hellan.PRMD=notis.ADMD=TELEMAX.C=NO."@MHS>
- Distribution: inet
- Date: 7 Jan 93 10:56:02
- Lines: 37
-
- In article <"21613.93.01.06.13:06*.S=Hellan.PRMD=notis.ADMD=TELEMAX.C=NO."@MHS> Hellan@notis.telemax.no (Jon K?re Hellan) writes:
-
- I have a problem when popping down Motif dialogs.
-
- From some dialogs, I call time consuming callbacks. Early in the callback,
- I pop down the dialog with the following sequence:
-
- XtPopdown(shell_widget);
- XmUpdateDisplay(shell_widget);
-
- At the end of the callback, the dialog is destroyed.
-
- Sporadically, I get the warning:
-
- Warning: XtRemoveGrab asked to remove a widget not on the list
-
- I am not quite sure, but I think there have been core dumps shortly after this.
-
- I introduced the popdown to give better feedback to the user. Previously, the
- dialog did not disappear until the dialog was destroyed at the end of the
- callback.
-
- Well, the message from XtRemoveGrab might be appearing in a
- case that has been fixed in some recent releases of Motif. This
- shouldn't (by itself) cause a crash. Best of recollection is that
- this is fixed in 1.1.5 and 1.2.1, but I don't know definitively.
-
- Using XtPopdown and XtPopup is problematic for some of Motif shells.
- You haven't specified the class of the Shell you are using. Some
- of Motif's shells require you to manage the child to post the shell.
- Others, in fact, demand the use of XtPopup. So it depends. It
- is documented.
- --
- Douglas S. Rand <drand@osf.org> OSF/Motif Dev.
- Snail: 11 Cambridge Center, Cambridge, MA 02142
- Disclaimer: I don't know if OSF agrees with me... let's vote on it.
- Amateur Radio: KC1KJ
-