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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2134 Actions


    Problem Report Number 2134
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0249
    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/XmTextFieldSetSelection 1
    Specification Motif Toolkit API
    Location in Spec See Problem Text
    Problem Summary PIN4M.00002 Fault in the test suite. This test case's assertion is not defined by Motif Reference Manual. XmTextFieldSetSelection is defined in TextF.c in Xm lib. Related code is: XmTextFieldWidget tf = (XmTextF...
    Problem Text

    Fault in the test suite.
    This test case's assertion is not defined by Motif Reference Manual.

    XmTextFieldSetSelection is defined in TextF.c in Xm lib. Related code
    is:
    XmTextFieldWidget tf = (XmTextFieldWidget) w;
    _XmTextFieldStartSelection(tf, first, last, sel_time);

    _XmTextFieldStartSelection is defined in TextF.c also. In this function,
    related code is:
    ..............
    if (!tf->text.has_primary) {
    ..................
    tf->text.has_primary = True;
    ...........
    cb.reason = XmCR_GAIN_PRIMARY;
    cb.event = NULL;

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

    WAIVER DOCUMENT X/Open Waiver Reference: PIN4M.00002


    XtCallCallbackList((Widget) tf, tf->text.gain_primary_callback,
    (XtPointer) &cb);
    ..........
    }

    At the first time when XmTextFieldSetSelection is called,
    tf->text.has_primary is False, so this time XmNgainPrimaryCallback is called,
    but at the same time we set:
    tf->text.has_primary = True;
    So the next time we cannot reach this block any more because we don't
    have any situation in our test case to reset tf->text.has_primary to be False
    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