Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 227700

Summary: Mouse fire a mouse move event in the MAC OS.
Product: [Tools] GEF Reporter: Dazheng Gao <gump_gao>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 227263    

Description Dazheng Gao CLA 2008-04-17 22:47:00 EDT
1:Check out the logic example code from the cvs.
2:Change the setSelected method of the LEDEditPart like this,
    public void setSelected(int i){
	super.setSelected(i);
	if (i == EditPart.SELECTED_PRIMARY)
	{
		List list = new ArrayList();
		for (int k=0; k<200000; k++)
		{
			System.out.println(k);
			list.add(new Object());
		}
	}
	refreshVisuals();
   }

3:Run the eclipse application (org.eclipse.ui.ide.worknench).
4:New a logic diagram.
5:Drag a Circuit and a LED to the editor from the palette.
6:Select the circuit use the mouse.
7:Then select the LED use mouse , and realease the mouse right row, and move the mouse quickly.

Actual result:
The LED move.

Expected result:
THe LED is selected only.
Comment 1 Alexander Nyßen CLA 2010-12-14 17:29:58 EST
I cannot reproduce this with GEF 3.7M4 on MacOSX Cocoa. Can you please confirm that this does no longer hold?
Comment 2 Alexander Nyßen CLA 2011-01-06 14:43:34 EST
This is still reproducable using Mac OS X Carbon (10.4.11, Java 5). Could be an SWT issue though.
Comment 3 Alexander Nyßen CLA 2014-07-16 10:12:55 EDT
As Carbon is no longer a supported platform and it works under Cocoa, resolving this as NOT ECLIPSE.