Bug 415922 TVT/DVT4.3:TCT74: TVT_CN: Extra Mnemonic Key Found
<response_by> Eric Ma at 2013.08.26.22.19.41 </response_by> Build Label: 20130815-1400 Language: S.Chinese/English Steps To Recreate Problem: ****Perform test case 05.000.000 - PREREQUISITE SETUP first before proceeding**** Double-Click Eclipse icon on desktop then Click OK button in Workspace Launcher panel. Click on Window -> Open Perspective -> Report Design Expand the BIRT TVT project in the Navigator Window *********************************************************************************************************************************************************************************************** Double Click on Test_Report_4.rtpdesign on the Navigator Window Click Window -> Show View -> Data Explorer Expand Data Sources > Double click on Data Source_Flat Click Browse > Absolute path > select W:\TVT Test Files\BIRT\data > OK Double click on the chart ( blue frame) Click Select Data tab > click Data binding... Click on the Add Aggregation button Verify the strings highlighted in red in the Expected Results Problem Description: We found an extra mnemonic key which can't be modified by us as it is invoked from other place.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/BindingDialogHelper.java
Control[] children = paramsComposite.getChildren( );
		for ( int i = 0; i < children.length; i++ )
		{
			children[i].dispose( );
		}
		IAggrFunction function = getFunctionByDisplayName( cmbFunction.getText( ) );
		if ( function != null )
		{
			paramsMap.clear( );
			IParameterDefn[] params = function.getParameterDefn( );
			if ( params.length > 0 )
			{
				( (GridData) paramsComposite.getLayoutData( ) ).exclude = false;
				( (GridData) paramsComposite.getLayoutData( ) ).heightHint = SWT.DEFAULT;
				int width = 0;
				if ( paramsComposite.getParent( ).getLayout( ) instanceof GridLayout )
				{
					Control[] controls = paramsComposite.getParent( )
							.getChildren( );
					for ( int i = 0; i < controls.length; i++ )
					{
						if ( controls[i] instanceof Label
								&& ( (GridData) controls[i].getLayoutData( ) ).horizontalSpan == 1 )
						{
							int labelWidth = controls[i].getBounds( ).width
									- controls[i].getBorderWidth( )
									* 2;
							if ( labelWidth > width )
								width = labelWidth;
						}