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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2141 Actions


    Problem Report Number 2141
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0608
    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/XmGetMenuCursor 1
    Problem Summary PG4M.00004 Fault of test case. For XmGetMenuCursor function, the spec says: "Returns the cursor ID for the current menu cursor or the value None if a cursor is not yet defined. A cursor will not be defined if th...
    Problem Text
    Fault of test case.

    For XmGetMenuCursor function, the spec says:
    "Returns the cursor ID for the current menu cursor or the value None
    if a cursor is not yet defined. A cursor will not be defined if the application
    makes this call before the client has created any menus on the specified
    display."

    For this test case, its initialization creates an
    applicationShellWidgetClass:
    if (Initialize() == -1)
    return;
    Checking function Initialize(), you'll find following code:
    toplevel = XtAppCreateShell(name, "genericclass",
    applicationShellWidgetClass, display, NULL, 0);
    For "toplevel" widget, it has menu on its left-upper coner, such as
    one item "close" to close this widget, so we do create some menus on the
    "display" before we call XmGetMenuCursor function to check the result.

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    XmGetMenuCursor expects a return value of None when no menus are
    present on the specified display.

    The test implementation does not return the expected value. The
    submitter claims that the call to XtAppCreateShell (in
    Initialize) to create the top level shell widget creates a menu.

    We do not believe this is correct.

    In this test, XtAppCreateShell is an Xt Toolkit function which
    creates an ApplicationShell widget which is used to "hold an
    application's top-level widgets ....". No menus are created for
    this widget.

    The call to XmGetMenuCursor on the test implementation appears to
    return a default cursor instead of None.


    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.


    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority