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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2133 Actions


    Problem Report Number 2133
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0248
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Motif Toolkit
    Certification Program The Open Brand certification program
    Test Suite VSM version 4.0.0
    Test Identification funcs/XmTextSetSelection 1
    Specification Motif Toolkit API
    Location in Spec See Problem Text
    Problem Summary PIN4M.00001 Fault in test suite. Should not expect XmNgainPrimaryCallback if it is not the first time to call XmTextSetSelection function. XmNgainPrimaryCallback is not specified by the "Motif Reference Manual". ...
    Problem Text

    Fault in test suite.

    Should not expect XmNgainPrimaryCallback if it is not the first time
    to call XmTextSetSelection function.

    XmNgainPrimaryCallback is not specified by the "Motif Reference Manual".
    XmTextSetSelection is defined in Text.c of Xm lib. Here is the related code
    for XmTextSetSelection:
    source = GetSrc(widget);
    (*source->SetSelection)(source, first, last, set_time);
    SetSelection is defined in TextStrSo.c, here is the related source code:
    XmSourceData data = source->data;
    XmTextWidget tw;
    ........
    if (!data->hasselection) {
    ............
    data->hasselection = True;

    X/Open Waiver Reference: PIN4M.00001 Page: 1

    WAIVER DOCUMENT X/Open Waiver Reference: PIN4M.00001


    cb.reason = XmCR_GAIN_PRIMARY;
    cb.event = NULL;
    XtCallCallbackList ((Widget) data->widgets[0],
    data->widgets[0]->text.gain_primary_callback,
    (XtPointer) &cb);
    ...................
    }

    Here at the first time data->hasselection is False, so the first time
    when XmTextSetSelection is called, we can expect a XmNgainPrimaryCallback, but
    at the same time we set: data->hasselection = True and so that we cannot
    expect to reach here again.

    Review Information

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.


    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority