[comp.windows.open-look] Problem with PANEL_SLIDERs

harrison@faraday.physics.utoronto.ca (David Harrison) (06/21/91)

We have discovered what we think is a bug in xview, and are seeking
information about whether or not a fix is in a later release: if yes
we will live with the bug, if not I will probably try to hack the code 
to fix it myself.

The problem appears if we xv_create a PANEL_SLIDER with PANEL_SHOW_VALUE 
set to TRUE.  The little item to the left of the slider that shows the
current value of the slider can be edited, with the position of the
slider being updated; a nice touch.  If the PANEL_SLIDER is set to 
(PANEL_INACTIVE, TRUE), everything in the slider area is grayed out.  
Also, one may not use the mouse to move the position of the slider.  
However, one may still edit the value item, with those changes being 
reflected in the position of the supposed inactive slider.

I am pretty well convinced that this is wrong: if the slider is
inactive the value item should be too.

Our application behaves that same whether compiled with OpenWin 2.0
as shipped by Sun or xview 2.0 off the mit tape (not surprising but
we did check).  If it matters, we compiled on a 4/280 running 4.1.1.
The program was written with DEVGUIDE, and has been linked with both 
-l$OPENWINHOME/lib/X and -l/usr/lib/X11 with the same result; the latter 
library is current through patch 18.

Can anyone with knowledge of the next release comment on this bug?  I 
will be pleased to ship a small C program and Makefile if you have access 
to the next release and are willing to check for us. I will need to know
if you have the DEVGUIDE libraries.
-- 
David Harrison                             | "We place no reliance on virgin
Dept. of Physics, Univ of Toronto          |    or pigeon,
Inet: harrison@faraday.physics.utoronto.ca | Our method is science, our aim
Uucp: ..!uunet!utgpu!utfyzx!harrison       |    is religion" - Crowley