Hi !

I am experiencing lots of warning messages from lesstif when I run my
favourite data plotting tool (see below).  

I'm using:
lesstif-0.91.0-1.i386.rpm
lesstif-devel-0.91.0-1.i386.rpm
from your download site,

and:
Linux ida 2.2.13 #9 SMP Mon Mar 20 16:03:48 GMT 2000 i586 unknown

I have compiled from source a data plotting app called "Grace"
http://plasma-gate.weizmann.ac.il/Grace/
and when starting some popup windows for the first-time I gets Warnings like
this:

Warning:
    Name: Scrollbar
    Class: XmScrollBar
    XmPrimitive SetValues: won't set height of widget to 0

I reported this to the Grace developers and they said:

> This happens when XmNscaleWidth attribute is set to a Scale widget.
> I don't see anything wrong with the code so I'd say it's a Lesstif problem.

I ran grace under gdb and produced this pathetic trace.  If you need any more
debugging info. please ask and I'll do my best:

                  setapp_avalue = CreateTabPage(setapp_tab, "Ann. values");
(gdb)
375             fr = CreateFrame(setapp_avalue, "Text properties");
(gdb)
376             rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, fr, NULL);
(gdb)
378             rc2 = XtVaCreateWidget("rc", xmRowColumnWidgetClass, rc, NULL);
(gdb)
379             XtVaSetValues(rc2, XmNorientation, XmHORIZONTAL, NULL);
(gdb)
380             avalue_font_item = CreateFontChoice(rc2, "Font:");
(gdb)
381             avalue_charsize_item = CreateCharSizeChoice(rc2, "Char size");
(gdb)
382             XtVaSetValues(avalue_charsize_item, XmNscaleWidth, 120, NULL);
(gdb)
Warning:
    Name: Scrollbar
    Class: XmScrollBar
    XmPrimitive SetValues: won't set height of widget to 0
 
The actual code to create this tabbed dialog runs to 400 lines.  I can try and
simplify if you think it would help.

Many thanks

Ian
--                                
Ian Thurlbeck                http://www.stams.strath.ac.uk/
Statistics and Modelling Science, University of Strathclyde
Livingstone Tower, 26 Richmond Street, Glasgow, UK,  G1 1XH
Tel: +44 (0)141 548 3667           Fax: +44 (0)141 552 2079

Reply via email to