Widget top/bottom shadows missing on Solaris 7 only

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Widget top/bottom shadows missing on Solaris 7 only

Submitted by gates on Wed, 04/02/2003 - 17:58.

When our application is using an 8-bit PseudoColor Visual on a server with a default Visual that is 24-bit TrueColor, the top and bottom shadows on our buttons all disappear. This is ONLY happening on our machine that runs Solaris 7. The buttons are correct on Solaris 8, IRIX and AIX. Does anyone know what would cause this to happen only on the Solaris 7 and what I might be able to do to fix the problem?
By the way, I can set the values explicitly in the resource file and this clears it up but I`d rather let the application compute the values itself based on the background being used. We also have some buttons that are different colors and so I would have to set these values for all of these as well. Thanks.

Thu, 04/03/2003 - 01:26#1

Thu, 04/03/2003 - 01:26#1

ICS_support

Widget top/bottom shadows missing on Solaris 7 only

Which version of Motif?

You should also do this experiment run the application on Solaris 7 and display onto the Solaris 8 box, and vice versa. My bet is that the problem is not specific to Solaris 7 i.e. the application side, but to the server side; and, moreover, that you`ve found a bug in Motif in the color-management code which computes relative colors.

Oh, and then try the latest version of Motif.

 

Thu, 04/03/2003 - 15:32#2

Thu, 04/03/2003 - 15:32#2

gates

Widget top/bottom shadows missing on Solaris 7 only

It`s Motif version 2.1.0. Actually, I failed to mention that I`m going through Exceed from Windows...I`m logged into a Solaris 8 box. I was running the application on our Solaris 7 box and viewing it on the Solaris 8 box. Wow...That`s a mouthful. I don`t know if that helps. I can view it properly from any other box (IRIX and AIX) through the Solaris 8 over Exceed, however. I`ll try to run it straight on the Solaris 7 box at some point today and get back to you. Also, I`ve made a (hopefully temporary) fix by explicitly giving top and bottom shadow colors in the resource file. That`s probably not the best solution but it works and it`s all I could think of for now.