home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!dog.ee.lbl.gov!ucbvax!AICENTER.MDC.COM!sharp
- From: sharp@AICENTER.MDC.COM (Dave Sharp)
- Newsgroups: comp.windows.x.motif
- Subject: XmText input hangs.
- Message-ID: <9208131228.AA05462@aicenter.mdc.com>
- Date: 13 Aug 92 12:28:49 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 41
-
-
- Netters (sorry for my earlier null article):
-
- I am having a problem where a Text widget causes the application
- user interface to hang. The scenario is this:
-
- 1. The dialog is popped up. (XmFormDialog)
- 2. The user is able to selected any
- of the non-Text widgets (pushbuttons, toggle
- buttons...) just fine.
- 3. The user selects a text widget for input by either
- clicking on it or tabbing into it.
- 4. The input focus callback for the text widget is called.
- 5. The application user interface hangs. No keyboard
- input is accepted into the text widget, no mouse
- clicks are accepted in the application, and the
- text widget cursor is displayed for a fraction of a
- second and then disappears. I go to the shell window
- and type cntl-C to kill it.
-
- I have tried several tests to isolate the problem, reaching
- the following (some obvious) conclusions:
-
- a) It is not related to the app-defaults or user resource
- files: I achieved the same results with a different
- app-defaults file, and as logged in as another user.
- b) It is not related to the widget hierarchy: I ported
- the dialog to a different application we are working
- on, eliminated all of the callbacks, and it worked.
-
- Any ideas? I have compared my code to that of the second
- application mentioned in b), but haven't found any
- real differences.
-
- I am running SunOS 4.1.2, Motif 1.1.3, and using UIL on a
- Sun IPC.
-
- Mucho gracias.
-
- --Dave Sharp sharp@aisun.mdc.com
- --McDonnell-Douglas Corp.
-