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

Home » Public Forums » archive » Re: object graphics colormap bug ?
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: object graphics colormap bug ? [message #19130 is a reply to message #19128] Mon, 28 February 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Udo Grabowski (udo.grabowski@imk.fzk.de) writes:

> We again discovered a possible bug related to colormap switching into
> private mode. We are using Idl on Solaris 2.7 with fvwm2 window manager
> on 8 bit clients. When using draw widgets with object graphics, the
> colormap is not installed correctly when entering the window with the
> mouse, but shortly flickers to correct colors and then switches back to
> the previous colormap, which of course gives a distorted view. We reported
> a similar bug for Idl 5.2 a couple of month before for ordinary draw widgets
> also on CDE, that one disappeared when we upgraded to Idl 5.3. Now, on CDE
> the switching is done correctly, and also on fvwm2 for direct graphics after
> a patch from RSI was implemented. But that patch seemingly does not work for
> object graphics. Can anyone tell the internal differences for both types
> of graphic colormap switching approaches ?

I don't have the first idea about whether this is a
"bug" or not. I would certainly run it by RSI. But
I will hazard an opinion that the chances of running
object graphics correctly on a 8-bit display are not
good. Certainly I would say nearly impossible if you
are trying to combine direct graphics and object
graphics in the same program or session.

The two systems are just completely different. And
they use the color table in completely different ways.
Unless you are *very* careful to protect window colors
(for example, by always loading the correct color table
before drawing a graphic), there is no hope. And even
then, you will inevitably have color flashing problems.

Unless you have an extremely compelling reason to be
using object graphics on an 8-bit display, I would
be thinking about another solution.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLgrWindow (?) bug
Next Topic: Re: xmanager does not block

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

Current Time: Sat Oct 11 08:42:55 PDT 2025

Total time taken to generate the page: 2.08212 seconds