home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / motif / 5200 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.7 KB

  1. Path: sparky!uunet!mcsun!uknet!news.cs.bham.ac.uk!nhj
  2. From: nhj@cs.bham.ac.uk (Nick Jurascheck)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Bug in XmScale ??
  5. Summary: Help requested regarding possible bug in XmScale widget.
  6. Keywords: XmScale, help
  7. Message-ID: <BrwKMw.1AK@cs.bham.ac.uk>
  8. Date: 24 Jul 92 17:01:43 GMT
  9. Sender: nhj@cs.bham.ac.uk
  10. Followup-To: nhj@cs.bham.ac.uk
  11. Organization: School of Computer Science, Univ of Birmingham, UK
  12. Lines: 28
  13. Nntp-Posting-Host: fattie
  14.  
  15. Hi !
  16.  
  17. My Motif application exhibits some very strange behaviour when the
  18. user clicks on a slider, to in/de-crement its value by
  19. XmNscaleMultiple. Under certain program conditions, this causes a
  20. message dialog to pop up, in which case the value-changed callback
  21. gets repeatedly called, as if in an infinite loop, instead of just
  22. getting called once.  If the callback does not cause the dialog box to
  23. pop up there is no problem. When the same callback is triggered by
  24. dragging the slider bar, this problem does not occur at all.
  25.  
  26. Could this be a bug in Motif ? BTW I am using v1.0 on a DECstation
  27. running Ultrix 4.2.
  28.  
  29. Any suggestions would be welcomed; if necessary I could post some
  30. code, but it's on another machine, and in any case the code that
  31. causes this problem is very standard stuff. All that is required to
  32. cause this effect is to add an XmNvalueChanged callback to an XmScale
  33. widget, and then popup a MessageDialog from inside the callback.
  34.  
  35. If this is a bug, is there a way I can work around it, perhaps even by
  36. disabling the 'click on slider' facility? (I can't see how to do
  37. this...)
  38.  
  39. -- 
  40. JANET: N.H.Jurascheck@cs.bham.ac.uk | UUCP: ...!mcvax!bhamcs!JurascheckNH
  41. BITNET: JurascheckNH%cs.bham.ac.uk@ukacrl.bitnet
  42. INTERNET: JurascheckNH%cs.bham.ac.uk@cunyvm.cuny.edu
  43.