[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2552.0. "Another BadDrawable error." by TAVHLT::DORON (Doing my BEST !!!) Mon Apr 02 1990 04:55

Hi
 I have a customer that is running VMS 5.2 & ADA 1.5 . He is defining a 
DialogBox and a ListBox widgets in a UIL. Both are defined with width
arguments. The ListBox is a CONTROL of the DialogBox. When running the 
Application, (and doing MANAGE the heirarchy) he gets (from time to time)
the following message:

the message:X-ERROR event recieved from server: BadDrawable parameter not
a pixmap or window,
Failed requet. major opcode 62 x_copyarea
Failed request minor opcode 0 (If applicable)

When he cancels the width arguments in the UIL file, he does not get the 
above message.

		Any Hints?
			*-Doron-*
T.RTitleUserPersonal
Name
DateLines
2552.1A wild ideaDECWIN::FISHERPrune Juice: A Warrior's Drink!Tue Apr 03 1990 14:4814
This is a sort of wild guess based on an old bug.  It used to me that 
some subwidgets of a larger widget would calculate their width by subtracting a
constant from the width of their parent.  If you
started out the parent widgets with a very small width, expecting to resize 
it later, then the subwidget would try to create a window with a negative
width.  Since width is unsigned, it turned out huge and the server blew up.
We changed the server to check for that case and reject it.  This, however,
means that the subwidget window is not created, and thus the window id the
toolkit gets from CreateWindow is invalid.

If this is still happening, that might explain the BadDrawable message.  Try
making the default UIL width bigger.

Burns