Bug 134216 [regression] add a report item to library does not work properly
steps to reproduce: - create a library - add report items, say label - add 1st label - add 2nd laebl expected behavior: - everytime i drag a label to Outline->ReportItems, the label will be added actual behavior: - for the 1st label, it worked out fine - for the 2nd label, i had to drag a label twice to complete the operation note that this happened with other report items as well
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/DesignerConstants.java
public static final boolean TRACING_COMMANDS = getDebugOption( "commands" ); 
	public static final boolean TRACING_MEDIATOR_COLLEAGUE_ADD = getDebugOption( "mediator.addColleague" ); 
	public static final boolean TRACING_MEDIATOR_COLLEAGUE_REMOVE = getDebugOption( "mediator.removeColleague" ); 
	public static final boolean TRACING_MEDIATOR_GLOBAL_COLLEAGUE_ADD = getDebugOption( "mediator.addGlobalColleague" ); 
	public static final boolean TRACING_MEDIATOR_GLOBAL_COLLEAGUE_REMOVE = getDebugOption( "mediator.removeGlobalColleague" ); 
	public static final boolean TRACING_MEDIATOR_NOTIFY = getDebugOption( "mediator.notifyRequest" ); 
	public static final boolean TRACING_MEDIATOR_STATE_POP = getDebugOption( "mediator.popState" ); 
	public static final boolean TRACING_MEDIATOR_STATE_PUSH = getDebugOption( "mediator.pushState" ); 
	public static final boolean TRACING_MEDIATOR_STATE_RESTORE = getDebugOption( "mediator.restoreState" ); 
	public static final boolean TRACING_MEDIATOR_DISPOSE = getDebugOption( "mediator.dispose" ); 
	public static final boolean TRACING_IMAGE_MANAGER_IMAGE_ADD = getDebugOption( "imageManger.addImage" ); 
	public static final boolean TRACING_IMAGE_MANAGER_IMAGE_REMOVE = getDebugOption( "imageManger.removeImage" ); 
	/**
	 * Returns the debug option with the given id
	 * 
	 * @param id
	 *            the id of the debug option
	 * @return the debug option,or false if the id doesn't exist.
	 */
	public static boolean getDebugOption( String id )
	{
		boolean option = false;
		if ( DEBUG )
		{
			option = "true".equalsIgnoreCase( Platform.getDebugOption( "org.eclipse.birt.report.designer.core/tracing/" 
					+ id ) );
		}
		return option;
	}
}