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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2230 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 2230.


Report 2230 Actions


    Problem Report Number 2230
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1145
    Raised 2000-04-27 08:00
    Updated 2003-03-13 08:00
    Published 2000-05-11 08:00
    Product Standard Motif Toolkit
    Certification Program The Open Brand certification program
    Test Suite VSM version 4.1.3
    Test Identification Widgets/XmToggleButton 3
    Specification Motif Toolkit API
    Problem Summary TSD4M.00052 With VSM_VERBOSE_OUTPUT=Yes in tetexec.cfg, the output
    shows: [--snip--] TEST: Set XmNlabelType to '2' /* XmSTRING -- no change
    */ TEST: Set XmNlabelType to '1' /* XmPIXMAP */ ERROR: Resource XmNi...
    Problem Text With VSM_VERBOSE_OUTPUT=Yes in tetexec.cfg, the output shows:

    [--snip--]
    TEST: Set XmNlabelType to '2' /* XmSTRING -- no change */
    TEST: Set XmNlabelType to '1' /* XmPIXMAP */
    ERROR: Resource XmNindicatorSize: Expected 14, received 9
    TEST: Set XmNlabelType back to original value /* XmSTRING again */
    ERROR: Resource XmNindicatorSize: Expected 9, received 14
    [--snip--]

    It is normal behavior for the toggle button to recalculate its
    indicatorSize upon switching labelType. In the Motif 2.1.30 code,
    lib/Xm/ToggleB.c, SetValues(), about line 2867:

    if Lab_IsPixmap(new_w)
    {
    if (!IsNull(PixmapOff(newcbox)) || !IsNull(PixmapInsenOff(newcbox)) ||
    !IsNull(PixmapOn(newcbox)) || !IsNull(PixmapInsenOn(newcbox)) ||
    !IsNull(PixmapInd(newcbox)) || !IsNull(PixmapInsenInd(newcbox)))
    if (newcbox->label.TextRect.height < 13)
    newcbox->toggle.indicator_dim =
    newcbox->label.TextRect.height;
    else
    newcbox->toggle.indicator_dim = 13 +
    (newcbox->label.TextRect.height/13);
    else
    newcbox->toggle.indicator_dim = XmDEFAULT_INDICATOR_DIM;
    }

    In this particular case, the indicator size is assigned
    XmDEFAULT_INDICATOR_DIM, which is 9. When the labelType is
    set back to XmSTRING, the indicator size is calculated to be 14 again.

    Test Output SECTION: Widgets

    TEST CASE: XmToggleButton

    TEST PURPOSE #3
    The members of the resource set for the XmToggleButton
    widget which are defined in the Motif Toolkit API
    specification as having access mode 'S' shall be settable
    with XtSetValues().
    ERROR: Resource XmNindicatorSize: Expected 14, received 9
    ERROR: Resource XmNindicatorSize: Expected 9, received 14
    3 FAIL

    TEST CASE: XmToggleButtonG

    TEST PURPOSE #3
    The members of the resource set for the XmToggleButtonGadget
    widget which are defined in the Motif Toolkit API
    specification as having access mode 'S' shall be settable
    with XtSetValues().
    ERROR: Resource XmNindicatorSize: Expected 14, received 9
    ERROR: Resource XmNindicatorSize: Expected 9, received 14
    3 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response A test suite deficiency 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