eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

WizardDialog get's unresponsive for RCP 4.26

Open Jeevan2000 opened this issue 9 months ago • 3 comments

Let's make sure issue is not already fixed in latest builds first.

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.

Jeevan2000 avatar Mar 17 '25 12:03 Jeevan2000

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?

akurtakov avatar Mar 17 '25 12:03 akurtakov

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 avatar Mar 25 '25 09:03 Jeevan2000

@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

elsazac avatar Mar 27 '25 08:03 elsazac