|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2157 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 2157.
Report 2157 Actions
Problem Report Number 2157 Submitter's Classification Test Suite problem State Resolved Resolution Temporary Interpretation (TIN) Problem Resolution ID TIN.X.0097 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-03-05 08:00 Product Standard Motif Toolkit Certification Program The Open Brand certification program Test Suite VSM version 4.0.0 Test Identification widgets/XmTemplateDialog 3 Specification Motif Toolkit API Location in Spec See Problem Text Problem Summary TIN4M.00004 The OSF/Motif Programmer's Reference (Rel 1.2) states: XmCreateTemplateDialog() "You can create the standard MessageBox pushbuttons, Cancel, Help, and OK, by specifying the associated callback and la... Problem Text
The OSF/Motif Programmer's Reference (Rel 1.2) states:
XmCreateTemplateDialog()
"You can create the standard MessageBox pushbuttons, Cancel, Help, and OK, by
specifying the associated callback and label string resources. Setting
XmNsymbolPixmap or XmNmessageString creates a symbol or message label."
Here we are trying to SET values for children that DON'T exist because
they were NOT created at CREATION time. IF, for example, we had specified
the XmNcancelLabelString resource at CREATION time then the "Cancel"
button would have been created. Then it would have been ok to SET the
XmNcancelLabelString because the "Cancel" button would have already been
created.
Notice that the quote above from the OSF/Motif Programmer's Reference is
with respect to the function that CREATES the Template Dialog. It does
NOT say that you can later go and create children by specifying the
XmNcancelLabelString, XmNokLabelString, XmNhelpLabelString, XmNsymbolPixmap,
or XmNmessageString with XtSetValues().Test Output
REQUEST/PROBLEM DESCRIPTION:
520|1421 3 15041 1 1|VSM4TESTSUITE PURPOSE 3
520|1421 3 15041 1 2|The members of the resource set for the XmTemplateDialog
520|1421 3 15041 1 3|widget which are defined in the Motif Toolkit API
520|1421 3 15041 1 4|specification as having access mode 'S' shall be settable
520|1421 3 15041 1 5|with XtSetValues().
.
520|1421 3 15041 1 54|TEST: Set XmNcancelLabelString to '<Key>F8'
520|1421 3 15041 1 55|ERROR: Resource XmNcancelLabelString: Expected '<Key>F8', received NULL
.
520|1421 3 15041 1 72|TEST: Set XmNhelpLabelString to '<Key>F8'
520|1421 3 15041 1 73|ERROR: Resource XmNhelpLabelString: Expected '<Key>F8', received NULL
.
520|1421 3 15041 1 111|TEST: Set XmNmessageString to '<Key>F8'
520|1421 3 15041 1 112|ERROR: Resource XmNmessageString: Expected '<Key>F8', received NULL
.
520|1421 3 15041 1 126|TEST: Set XmNokLabelString to '<Key>F8'
520|1421 3 15041 1 127|ERROR: Resource XmNokLabelString: Expected '<Key>F8', received NULL
.
520|1421 3 15041 1 148|TEST: Set XmNsymbolPixmap to '16777219'
520|1421 3 15041 1 149|ERROR: Resource XmNsymbolPixmap: Expected 16777219, received 0Review 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).
Note that the 1.2 motif documentation for XmMessageBox states:
"If the callback, string OR pixmap symbol resources are specified, the
appropriate child will be created."
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Temporary Interpretation (TIN) Review Conclusion
A Temporary Interpretation is granted.
Problem Reporting System Options:
- View Report 2157
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority