comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Strange Linux colors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Strange Linux colors [message #19502 is a reply to message #19249] Tue, 21 March 2000 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Udo Grabowski wrote:
>
> Hello !
>
> We have the same trouble with Idl, and (for direct graphics) it's
> a flaw of the fvwm window manager which does not handle private
> colormaps in widgets correctly. Get the newest fvwm2 release from
> www.fvwm.org, which has a patch for that problem. For object graphics,
> there currently is no way to get the correct colors on fvwm when a
> private colormap is needed, I currently try to get some ideas from
> a former developer of RSI for a patch. As a workaround, close all
> color sucking applications such as netscape, java applications etc.
> until enough colors are available (do a 'print,!d.n_colors' after
> launching an idl window do see how many are allocated). This will
> help in most cases. But you will have no chance if the application
> itself allocates a colormap with 256 entries, which always results
> in a private colormap. The only way to get out of that is to start
> the Xserver with 24 bit RGB color (modify /etc/XF86Config), which provides
> always enough colors to avoid a private colormap, but some other
> applications cannot handle that mode correctly, so expect to have to
> switch back from 24 to 8 bit sometimes. I don't know if the KDE manager
> does a better job on the colormaps.
> -



This trick may help,

window,0,color=256
wdelete,0


R.Bauer
[Message index]
 
Read Message
Read Message
Previous Topic: GUI Builder for Unix
Next Topic: Re: map_set, date line problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:57:59 PDT 2025

Total time taken to generate the page: 0.79878 seconds