home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5594 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.8 KB

  1. 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
  2. From: sharp@AICENTER.MDC.COM (Dave Sharp)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: XmText input hangs.
  5. Message-ID: <9208131228.AA05462@aicenter.mdc.com>
  6. Date: 13 Aug 92 12:28:49 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 41
  11.  
  12.  
  13. Netters (sorry for my earlier null article):
  14.  
  15. I am having a problem where a Text widget causes the application
  16. user interface to hang. The scenario is this:
  17.  
  18. 1.    The dialog is popped up. (XmFormDialog)
  19. 2.    The user is able to selected any
  20.     of the non-Text widgets (pushbuttons, toggle
  21.     buttons...) just fine.
  22. 3.    The user selects a text widget for input by either
  23.     clicking on it or tabbing into it.
  24. 4.    The input focus callback for the text widget is called.
  25. 5.    The application user interface hangs. No keyboard
  26.     input is accepted into the text widget, no mouse
  27.     clicks are accepted in the application, and the 
  28.     text widget cursor is displayed for a fraction of a
  29.     second and then disappears. I go to the shell window
  30.     and type cntl-C to kill it.
  31.  
  32. I have tried several tests to isolate the problem, reaching
  33. the following (some obvious) conclusions:
  34.  
  35. a)    It is not related to the app-defaults or user resource
  36.     files: I achieved the same results with a different
  37.     app-defaults file, and as logged in as another user.
  38. b)    It is not related to the widget hierarchy: I ported
  39.     the dialog to a different application we are working
  40.     on, eliminated all of the callbacks, and it worked.
  41.  
  42. Any ideas? I have compared my code to that of the second
  43. application mentioned in b), but haven't found any
  44. real differences.
  45.  
  46. I am running SunOS 4.1.2, Motif 1.1.3, and using UIL on a
  47. Sun IPC.
  48.  
  49. Mucho gracias.
  50.  
  51. --Dave Sharp            sharp@aisun.mdc.com
  52. --McDonnell-Douglas Corp.
  53.