HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0084 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0084.


Report 0084 Actions


    Problem Report Number 0084
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0084
    Raised 1993-01-13 08:00
    Updated 2003-03-13 08:00
    Published 1993-08-24 08:00
    Product Standard X Window System Display
    Certification Program The Open Brand certification program
    Test Suite VSW version 4.1.1
    Test Identification CH05/strnmdclr/strnmdclr 2
    Problem Summary TSD4.084 In this test case, rgb color values are stored into the colormap using XStoreColor. When doing this, the 16bit integer color values are cut by the server to the number of significant bits in the color...
    Problem Text
    In this test case, rgb color values are stored into the colormap using XStoreColor.
    When doing this, the 16bit integer color values are cut by the server to the number
    of significant bits in the color specification the hardware allows (as available by xdpyinfo).
    After applying XStoreNamedColor, the rgb values in the current colormap are compared to
    the values given to XStoreColor (using XQueryColor). And here is the error: XQueryColor gets
    the hardware dependent color values (Xlib C language binding, p. 85), in our case with 6
    significant bits. So, because the test suite does not take care of this, an error occurs.
    Note that the flags given to XStoreNamedColor are handled correctly.
    Test Output
    10|0 /tset/CH05/strnmdclr/strnmdclr 15:11:48|TC Start, scenario ref 22-1, ICs {all}
    15|0 1.10 1|TCM Start
    520|0 0 3544 1 1|TRACE:NAME: XStoreNamedColor
    400|0 2 1 15:11:59|IC Start
    200|0 2 15:11:59|TP Start
    520|0 2 3544 1 1|TRACE:--- Running test with visual class PseudoColor, depth 4
    520|0 2 3544 1 2|TRACE:--- Testing with supported visual class PseudoColor
    520|0 2 3544 1 3|TRACE:Attempting XStoreNamedColor() for class PseudoColor, color red
    520|0 2 3544 1 4|REPORT:XStoreNamedColor() RGB value r 48128 g 48128 b 48128
    instead of r 49151 g 49151 b 49151.
    520|0 2 3544 1 5|REPORT:XStoreNamedColor() RGB value r 16384 g 48128 b 48128
    instead of r 16384 g 49151 b 49151.
    520|0 2 3544 1 6|REPORT:XStoreNamedColor() RGB value r 48128 g 16384 b 48128
    instead of r 49151 g 16384 b 49151.
    520|0 2 3544 1 7|REPORT:XStoreNamedColor() RGB value r 16384 g 16384 b 48128
    instead of r 16384 g 16384 b 49151.
    520|0 2 3544 1 8|REPORT:XStoreNamedColor() RGB value r 48128 g 48128 b 16384
    instead of r 49151 g 49151 b 16384.
    520|0 2 3544 1 9|REPORT:XStoreNamedColor() RGB value r 16384 g 48128 b 16384
    instead of r 16384 g 49151 b 16384.
    520|0 2 3544 1 10|REPORT:XStoreNamedColor() RGB value r 48128 g 16384 b 16384
    instead of r 49151 g 16384 b 16384.
    520|0 2 3544 1 11|CHECK:XStoreNamedColor-2 1, line 277
    520|0 2 3544 1 12|TRACE:--- Running test with visual class GrayScale, depth 4
    520|0 2 3544 1 13|TRACE:--- Testing with supported visual class GrayScale
    520|0 2 3544 1 14|TRACE:Attempting XStoreNamedColor() for class GrayScale, color red
    520|0 2 3544 1 15|REPORT:XStoreNamedColor() RGB value r 48128 g 48128 b 48128
    instead of r 49151 g 49151 b 49151.
    520|0 2 3544 1 16|REPORT:XStoreNamedColor() RGB value r 16384 g 48128 b 48128
    instead of r 16384 g 49151 b 49151.
    520|0 2 3544 1 17|REPORT:XStoreNamedColor() RGB value r 48128 g 16384 b 48128
    instead of r 49151 g 16384 b 49151.
    520|0 2 3544 1 18|REPORT:XStoreNamedColor() RGB value r 16384 g 16384 b 48128
    instead of r 16384 g 16384 b 49151.
    520|0 2 3544 1 19|REPORT:XStoreNamedColor() RGB value r 48128 g 48128 b 16384
    instead of r 49151 g 49151 b 16384.
    520|0 2 3544 1 20|REPORT:XStoreNamedColor() RGB value r 16384 g 48128 b 16384
    instead of r 16384 g 49151 b 16384.
    520|0 2 3544 1 21|REPORT:XStoreNamedColor() RGB value r 48128 g 16384 b 16384
    instead of r 49151 g 16384 b 16384.
    520|0 2 3544 1 22|CHECK:XStoreNamedColor-2 2, line 277
    520|0 2 3544 1 23|TRACE:--- Running test with visual class StaticGray, depth 4
    520|0 2 3544 1 24|TRACE:--- Running test with visual class StaticColor, depth 4
    220|0 2 1 15:12:00|FAIL
    410|0 2 1 15:12:00|IC End
    80|0 0 15:12:04|TC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a test suite deficiency and a permanent waiver is
    recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority