|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2163 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2163.
Report 2163 Actions
Problem Report Number 2163 Submitter's Classification Specification problem State Resolved Resolution Temporary Interpretation (TIN) Problem Resolution ID TIN.X.0103 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-03-26 08:00 Product Standard Motif Toolkit Certification Program The Open Brand certification program Test Suite VSM version 4.0.0 Test Identification functions/XmGetMenuCursor 1 Specification Motif Toolkit API Location in Spec See Problem Text Problem Summary TIN4M.00010 The reference implementation (i.e. The Motif code provided by TOG) being tested is not in line with the standard specification for this Motif function as defined in the "OSF/Motif Programmer's Refere... Problem Text
The reference implementation (i.e. The Motif code provided by TOG) being
tested is not in line with the standard specification for this Motif
function as defined in the "OSF/Motif Programmer's Reference (Rel.
1.2)".
The assertion being tested is in line with the standard specification
but the behavior of this function is not in line with the specification.
Either the Motif reference implementation is at fault, or the
Specification needs to be aligned with the reference implemenation. It
is our understanding that Motif 1.2.X is no longer supported by TOG,
hence we request this waiver be granted a Permanent Interpretation.
The function XmGetMenuCursor() returns "xmScreen->screen.menuCursor"
but "xmScreen->screen.menuCursor" is never initialized to "None".
The line "xmScreen->screen.menuCursor = None;" needs to be added to the
ScreenInitialize() function in "Screen.c".
The sample code below illustrates the problem.
static void
ScreenInitialize(
Widget requested_widget,
Widget new_widget,
ArgList args,
Cardinal *num_args )
{
XmScreen xmScreen = (XmScreen)new_widget;
.
/* NEED TO ADD THIS LINE. */
xmScreen->screen.menuCursor = None;
.
}
Cursor
XmGetMenuCursor(
Display *display )
{
XmScreenxmScreen;
/* get the default screen menuCursor since there is no
other information available to this function */
xmScreen = (XmScreen) XmGetXmScreen(DefaultScreenOfDisplay(display));
return(xmScreen->screen.menuCursor);
}Test Output
520|740 1 5892 1 1|VSM4TESTSUITE PURPOSE 1
520|740 1 5892 1 2|A call to Cursor XmGetMenuCursor(Display *display)
520|740 1 5892 1 3|before the application has created any menus on the
520|740 1 5892 1 4|specified display shall return None.
520|740 1 5892 1 5|PREP: Initialize Xt
520|740 1 5892 1 6|TEST: Call XmGetMenuCursor
520|740 1 5892 1 7|TEST: Return value
520|740 1 5892 1 8|ERROR: Cursor returned was not None
220|740 1 1 17:32:07|FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
A non-alignment between the reference code and its specification is
under investigation. Thus it is recommended that a Temporary
Interpretation be granted for this test while it remains subject to review.
If a change to the specification results from the conclusion of this
investigation, then this Temporary Interpretation will be converted
to a Permanent Waiver. Otherwise this Temporary Interpretation will
be converted to a Temporary Waiver (Minor System Fault).
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Temporary Interpretation (TIN) Review Conclusion
A Temporary Interpretation is granted.
Applicability: VSM4.0.0 only.
Problem Reporting System Options:
- View Report 2163
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority