Project: SWT
Bug 72244 Posting mouse events locks up event handling
Reported: 2004-08-19 06:45:38 | Status: resolved fixed

I20040817, WinXP Experiments with posting mouse events by Display#post(..) in the main thread locked up while running the event queue. The main thread would eventually not return from OS.DispatchMessage(..). Posting the events from a background thread works. Using an additional thread makes the code more complicated and potentially changes measurements of performance tests.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java