Menu

#14 Colors display-x behave strange on 8bit PseudoColor Xvisuals

version 2.1.x
closed-fixed
chxxx
libggi (22)
5
2005-03-18
2004-11-22
Peter Rosin
No

The function
ggiSetPalette(vis, GGI_PALETTE_DONTCARE, 1,
&greenish);

returns an palette index, that when used does not get
you greenish colors.

The same index is returned for ggiMapColor(vis,
&greenish), so there is definitely something fishy going
on.

All in all, I see no way to get anything close to the
expected colors. Totally broken.

I might have missed something though?

Discussion

  • Peter Rosin

    Peter Rosin - 2004-11-22
    • labels: --> libggi
     
  • Peter Rosin

    Peter Rosin - 2004-11-22

    Logged In: YES
    user_id=972775

    See the newly commited program
    ggi-core/libggi/program/check/palette.c
    in cvs.

    (and, BTW, sorry for the lousy spelling in the subject, the
    length apparently maxed out and I didn't notice that my
    changes didn't happen...)

     
  • chxxx

    chxxx - 2005-02-08

    Logged In: YES
    user_id=51548

    I can reproduce this.

    xdpyinfo snippet:

    visual:
    visual id: 0x43
    class: PseudoColor
    depth: 8 planes
    available colormap entries: 256
    red, green, blue masks: 0x0, 0x0, 0x0
    significant bits in color specification: 8 bits

     
  • chxxx

    chxxx - 2005-02-08
    • summary: Colors display-x bahave strange on 8-bit PsudoColor servers --> Colors display-x behave strange on 8bit PseudoColor Xvisuals
     
  • chxxx

    chxxx - 2005-03-18

    Logged In: YES
    user_id=51548

    This bug has been fixed in -current and GGI 2.1.x

     
  • chxxx

    chxxx - 2005-03-18
    • milestone: --> version 2.1.x
    • assigned_to: nobody --> cegger
    • status: open --> closed-fixed
     

Log in to post a comment.