Project: SWT
Bug 88958 DirectoryDialog and FileDialog bring CPU utilization to 100%
Reported: 2005-03-23 19:36:22 | Status: resolved fixed

It seems that this fix for 76195 creates problems is Eclipse 3.1. When I open DierectoryDialog and there are pending asyncExecs the dialog keeps receiving WM_ENTERIDLE events and that brings the CPU utilization to 100%. That makes the DiarctoryDialog node expanding extremely slow, almost impossible to use.

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/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java