The progress monitor that is shown when switching to the Design page is run in the UI thread and therefore blocks the internal refresh of the dialog. The result is as such:
We need to investigate what parts of the IRunnableWithProgress need to be run in the UI thread and what can be done in a separate thread. We also needs to make sure that we only switch to the Design page, once the runnable has completed.
The progress monitor that is shown when switching to the Design page is run in the UI thread and therefore blocks the internal refresh of the dialog. The result is as such:
We need to investigate what parts of the IRunnableWithProgress need to be run in the UI thread and what can be done in a separate thread. We also needs to make sure that we only switch to the Design page, once the runnable has completed.
https://github.com/eclipse-windowbuilder/windowbuilder/blob/d650c204da1c627c89592c11a57668bdc5d5ded0/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/editor/DesignPage.java#L454-L482
Bonus points if we can remove those dreadful IProgressMonitor methods in the DesignPageSite class.