WizardDialog get's unresponsive for RCP 4.26
Let's make sure issue is not already fixed in latest builds first.
- [x] I verified I can reproduce this issue against latest Integration Build of Eclipse SDK
Steps to reproduce
We have migrated our eclipse based application from eclipse 4.15 to eclipse 4.26, and while testing the application we found that WizardDialog get's Unresponsive. I do see some things have been changed in Display, Wizard and WizardDialog classes.
Also, not able to scroll and move that dialog anywhere.
Important thing to notice is, that dialog get's responsive when, all other dialogs/Wizards gets closed.
I expected: <Dialog to be responsive>
But got: <Dialog to be unresponsive>
Here is some relevant log output
From
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4918)
at org.eclipse.swt.SWT.error(SWT.java:4833)
at org.eclipse.swt.SWT.error(SWT.java:4804)
at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:369)
at org.eclipse.swt.widgets.Control.setEnabled(Control.java:3402)
Tested under this environment:
- OS & version: MS windows 10
- Eclipse IDE/Platform version (as shown in Help > About): Eclipse 4.26
Community
- [x] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.
Latest eclipse is 4.35 https://download.eclipse.org/eclipse/downloads/drops4/R-4.35-202502280140/ and 4.26 is considered out of support for years . Does the problem still happens with latest version?
Hi, we cannot move to Eclipse 4.35 as we want to support Java 17 & 11. One thing which we have got to know is 4.15 was using shell Style as APPLICATION_MODAL and 4.26 is using shell Style as PRIMARY_MODAL. Our parent Wizard is responsive where as child Wizard goes unresponsive. When we change the MODAL from PRIMARY to APPLICATION, it works fine.
But, after these also we need to set some more shell style to work for it properly like SWT. TITLE, SWT.BORDER, SWT.MAX. These shell style were not required for eclipse 4.15.
I need to know though we found the workaround and it is working, can someone point to actual root cause of these issue and it's fix.
Thanks.
@Jeevan2000
Could you clarify where exactly you're seeing the issue? Is it specific to a particular wizard dialog or affecting all of them in 4.26? For example, the ones in:
Settings → Properties → Java Build Path → Add Folder Settings → Properties → Java Build Path → Link Folder
These seem to work fine for me in 4.26. Let me know where exactly you see problem