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

Bug 330268

Summary: Display.post() logs out current session if no mouse button specified only on 10.6.5(?)
Product: [Eclipse Project] Platform Reporter: Scott Kovatch <skovatch>
Component: SWTAssignee: Scott Kovatch <skovatch>
Status: RESOLVED FIXED QA Contact: Silenio Quarti <Silenio_Quarti>
Severity: critical    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M4   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Scott Kovatch CLA 2010-11-15 12:22:58 EST
Discovered during a JUnit test run: this piece of code

		event = new Event();
		event.type = SWT.MouseDown;
		display.post(event);  // missing button

will kill all processes and restart the Finder on 10.6.5!
Comment 1 Scott Kovatch CLA 2010-11-15 12:25:21 EST
Created attachment 183144 [details]
Fix
Comment 2 Scott Kovatch CLA 2010-11-15 12:25:51 EST
Fixed > 20101115.