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