|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2182 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 2182.
Report 2182 Actions
Problem Report Number 2182 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1101 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 widgets/XmPopupMenu 4 Problem Summary TSD4M.00007 Fault of test suite. The calling sequence are: // *testWidgetClassInfo->proc_TestBehavior) (testWidgetClassInfo, parentWidgetInfo); /* vsm4/tset/widgets/popupm.c : test4A testWidgetClassInfo is iXmPop... Problem Text
Fault of test suite.
The calling sequence are:
/*************************************************/
*testWidgetClassInfo->proc_TestBehavior) (testWidgetClassInfo,
parentWidgetInfo);
/* vsm4/tset/widgets/popupm.c : test4A
testWidgetClassInfo is iXmPopupMenuWidgetClass,
parentWidgetInfo is iXmFrameWidgetClass , */
static void TestBehavior(widget_class_info, parent_info)
MvsWidgetClassInfo *widget_class_info;
MvsWidgetInfoRecord *parent_info;
{
/* vsm4/src/mvslib/instances/PopupM.c */
mvsPopupMenuBehaviorSet(widget_class_info,parent_info,focus_mode,
args,nargs, i+1);
/* called in function TestBehavior above, defined in
vsm4/src/mvslib/behavior/PopupBehv.c */
Popup_info = mvsCreateNotManageWidget(widget_class_info, parent_info,
UseCommonArgs, args, n);
...................................
c_winfo = CreateRCchildren(Popup_info, num_children, 0, is_homo?1:0);
/* Both 2 lines of code are called in mvsPopupMenuBehaviorSet,
CreateRCchildren defined in vsm4/src/mvslib/specific/mvsRowCol.c */
/*************************************************/
X/Open Waiver Reference: TSD4M.00007 Page: 2
WAIVER DOCUMENT X/Open Waiver Reference: TSD4M.00007
In function CreateRCchildren, it will reach such code when the errors
happen:
switch (curr_class->mvs_class) {
case mvsXmCascadeButtonWidgetClass:
case mvsXmCascadeButtonGadgetClass:
if ((child_created+1) % SKIP_PULLDN &&
level+submenu[level] < MX_LVL-1 &&
child_created+2 <= num_children ) {
children_info[child_created++] =
CreateMenuWidget(Parent_info, XmMENU_PULLDOWN, level,
child_created, flag);
...............................................................
Function CreateMenuWidget is defined in same file mvsRowCol.c. If you
look at the code of this function, you will find that for "XmMENU_PULLDOWN"
case is only defined for MOTIF_20, in this function we reach the default
of the switch statement and widget "w_info" is not created, and this will
cause problem in the following code of this function:
c_list = CreateRCchildren(w_info, num_child, level+1, flag);
Similar cases: XmMenuBar 4Review Information
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 2182
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority