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

Home » Public Forums » archive » Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help)
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: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) [message #29177] Thu, 07 February 2002 10:32 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Robert Stockwell wrote:

>
>
> Nigel Wade wrote:
>
>> Robert Stockwell wrote:
>>
>>
>>> Greetings all,
>>> its been hours since a post about colors, so I
>>> figured I volunteer a post.
>>>
>>> I have IDL 5.5 on Redhat Linux 7.2 running KDE
>>> in 24bit color mode.
>>>
>>
>> Snap.
>
>
> Snap?
>

Ditto, the same.

Don't tell me you never played snap as a kid? Maybe it's called something
else over the pond. How does that saying go "two countries separated by a
common language"?

>
>> This incantation seems to work (xloadct displays correctly):
>>
>> device,true=24
>> window,/pixmap &wdelete
>> device,bypass_translation=0
>
>
>
> I did put this in my startup. (Of course, _after_ posting the message
> to the newsgroup, a coworker pointed out the bug report on rsinc.com,
> which I had failed to find with my searches).

That's strange. Do you do a device,decomposed=0 first? I have a feeling
that fixes the visual to the default.

>
> This does NOT solve my problem, although it does make it better.
> Now I get greyscale, and any color table commands are ignored,
> and xloadct only has greyscale, regardless of which table I choose.
> ....WHAT THE!?? Hey, when I put the cursor on the colorbar of
> xloadct, I do get the IDL color table, but for the entire desktop!
> That is to say, the plot window now looks correct, but the entire
> desktop is also in that color table, and thus gets wacky colors
> assigned to everything (i.e other programs are now all blue, some
> have black on blue fonts and are unreadable, etc). When I move the
> cursor off the colorbar in Xloadct, it goes back to normal (normal
> desktop colors, and greyscal IDL plot window).
> Hmmmmm, we're on to something here.

Yep, that's DirectColor. Just like PsuedoColor for 8 bit.

It does seem strange that you are unable to force it into TrueColor.


>
> PS anyone else amazed that RSI let this broken "24bit color on linux"
> out the door. OOPS! I think we should chip in and by them a linux
> computer that they can at least run the new releases before they ship!
>

I can understand it getting shipped. I would, however, have hoped they
could have released a patch for it by now.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Setting XSIZE in Droplist Widget
Next Topic: StrSplit wont port to Windows?

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

Current Time: Wed Oct 08 16:46:40 PDT 2025

Total time taken to generate the page: 0.00387 seconds