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

Home » Public Forums » archive » Draw widget updates and mouse movement
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: Draw widget updates and mouse movement [message #20453 is a reply to message #20380] Thu, 22 June 2000 00:00 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Jared Crossley wrote:
> I have a similar problem. When I display an image and load a color
> table the colors do not appear until I move my mouse pointer over the
> image window. However, when my pointer is over the image window,
> everything on my screen changes color.
>
> I am using 24 bit color. If I try to switch to 8 bit via
>
> device, pseudo=8
>
> when I try to display an image I get an error message:
>
> % Unsupported X Windows visual (class: PseudoColor, depth: 8).
> Substituting default (class: TrueColor, Depth: 24).
>
> I would prefer to use 24 bit anyway. My question is: Why does
> everything on my screen change colors when my mouse moves over the
> display window, and is there a way to fix this problem?
>
> I am running IDL 5.3 (linux x86).

Your X server does not support 8-bit visuals when the desktop is set to
24-bits per pixel (this is quite common in the Linux world). If your
desktop is set to 16 bits per pixel, then IDL may act unreliably because
IDL does not support 16-bit UNIX displays. I believe 16-bit displays are
only handled properly on Windows and MacOS platforms.

If your desktop is set to 16 bits per pixel, try setting it to 8 or 24
bits per pixel.

Did you try using the IDL startup file I posted with 'true_color=24'
instead of 'pseudo_color=8'?

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Landsat 7 HDF Data
Next Topic: very fast spline interp function for heavy oversampling?

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

Current Time: Fri Oct 10 19:37:10 PDT 2025

Total time taken to generate the page: 0.32107 seconds