Color Problem (8- vs 24-bit depth)

Status
Not open for further replies.

Ivan Kourtev

Usenet Archive
Joined
Jan 9, 2002
Messages
4
Reaction score
0
Hi everybody,

I have a little problem with IC446 and wasn't able to find a remedy by searching the archives (although similar topics have been discussed). Wondering if anyone can help with the following.

We are using IC446 on an Ultra 10/Solaris 7/Creator 3D/CDE and needed to run the X server in 24-bit depth mode in order to get the root window to have depth of 24 and avoid color problems with a different application. Everything else works as before except that since the above change was made, Cadence exhibits some awful color problems of its own. When I start icfb, the main message window (called CIW?) runs in 8-bit mode while the library manager window is in 24-bit mode. If you open a layout, the layout editor windows are somehow running in 8-bit mode as well. The least problem with this is that one cannot see well the dropdown window menus in the 8-bit mode windows. The background of the menus is black and it's nearly impossible to read what the menu entries say.

Has/Is anyone else encountered/-ing any similar problems? Why is this happening in only some of the cadence windows? Is there any way around it? I tried all CDE color management configuration options (more colors for desktop/applications, etc.) but always run into the same problem. I really would not want to have to switch the entire X-server back to 8-bit mode.

Any help will greatly appreciated!

P.S. My background in X Windows is "weak" and I apologize for using any terms incorrectly or in a stupid way.
 
In article Ivan Kourtev writes:
Everything else works as before except that since the
above change was made, Cadence exhibits some awful color problems of its own. When I start icfb, the main message window (called CIW?) runs in 8-bit mode while the library manager window is in 24-bit mode. If you open a layout, the layout editor windows are somehow running in 8-bit mode as well. The least problem with this is that one cannot see well the dropdown window menus in the 8-bit mode windows. The background of the menus is black and it's nearly impossible to read what the menu entries say.

Has/Is anyone else encountered/-ing any similar problems? Why is this happening in only some of the cadence windows? Is there any way ...

This is a problem with CDE overrides in that it doesn't handle colors in an 8-bit visual well when the root visual is 24-bit. The easiest way to fix this is to turn off the CDE overrides for the Cadence software with the following X resource values (if you omit the "Opus" at the front, it will turn them off for everything):

Opus*enableCDEColorFactors: False
Opus*enableEtchedInMenu: False

Add these two lines to your ~/.Xdefaults file and run:

xrdb -merge ~/.Xdefaults

then restart your Cadence software. This will revert the colors and pulldown menu behavior to the Motif defaults and should make your menus easier to read.

Note that in 4.4.7 DFII will use a 24-bit TrueColor visual if available and will inherit the CDE colors by default so this problem shouldn't occur and turning off the CDE overrides won't be necessary.

P.S. My background in X Windows is "weak" and I apologize for using any terms incorrectly or in a stupid way.

Your descriptions were quite good, no reason to apologize.

-Pete Zakel

As Zeus said to Narcissus, "Watch yourself."
 
Pete,

Thanks for the prompt response, it worked exactly as you described. Can't wait for the 4.4.7 release (is it coming out soon)?
 
Status
Not open for further replies.

Latest threads

Back
Top