[comp.windows.x.motif] XmScrolledList Bug?

postmaster (Larry Poleshuck) (09/24/90)

I am seeing some aberrant behavior in my XmScrolledList.  I was wondering
if anyone else has seen this.  By the way I am using Motif 1.0.3.

When I use XmListDelete to delete the last item in the list, the 
screen mapping of the items on the list gets confused.  After removing
the last item, the spot blanks out, rather than having all of the
other items scroll down to fill in the blank.  However when I move
to a spot on the list, forcing another item to be highlighted (and
therefore redrawn), it becomes apparent that the memory copy of th
list is correct (i.e., scrolled downwards).

e.g.

end of list has

seven
eight
nine
ten
eleven

and I delete eleven.  The row holding eleven is blank.  If I point to nine,
it becomes a highlighed eight (and stays eight).  If I scroll up and then
down or highlight each item on the list, the list is then correct.
So it appears the Motif has a correct copy of everything on the list
but did not update its screen copy when the delete occurred.  Forcing
an expose event does not appear to correct the problem, either.

Is this a bug in Motif 1.0.3.  If so, has it been fixed in 1.1?



Larry Poleshuck
Citibank
111 Wall Street
New York, NY  10043

Phone:  212-657-7709
Fax:    212-657-0068
E-Mail: uunet!ibism!lcp
-- 

Larry Poleshuck
Citibank
111 Wall Street


-- 

Larry Poleshuck
Citibank
111 Wall Street