[comp.windows.x] Prog runs on one machine, fails on another

gram@uctcs.uucp (Graham Wheeler) (11/13/90)

The only reason I've been so quiet recently is because of marking, setting
exams, etc. Yesterday I got back to the Joys of X.

It didn't take long to hit a problem. I have a prog which creates a form
widget, containing three child form widgets and a label widget. The
form widgets each contain box
and viewport widgets, with the boxes containing label widgets. If that all
sounds complex, lets just say I have a main menu, with three graphical
windows (viewports) each with their own menus (box + labels).

At this stage, apart from a Quit command on the main menu, and a viewport
name in each local menu, everything is pretty empty (but I did give size
hints). Yesterday I had this program up and running with no problems on
a SPARCstation 1+. Today I was working on a different Sparc (physically)
but which is configured the same as far as I know, and I get an error
"Error: Widget clip has zero width and/or height".

I don't have any widgets called 'clip' in my code. I can ftp the binary
of the program from machine to machine, but I consistently get the error
on two of them and no error on the third. Any ideas?


Graham Wheeler		      |	"Don't bother me,
Data Network Architectures Lab|		I'm reading a `Crisis'!"
Dept. of Computer Science     | Internet: <gram.uctcs@f4.n494.z5.fidonet.org>
University of Cape Town       |     BANG: <...uunet!ddsw1!olsa99!uctcs!gram>