Input Dialogs issue with escape key [message #1455679] |
Wed, 29 October 2014 12:38  |
Eclipse User |
|
|
|
Hello,
We noticed something we suspect to be a RAP bug in our application.
If escape key is pressed fast enough with other keys in an input dialog we have some strange behavior and following stack trace displayed in our logs:
It is probably because is in batch of event to process there are some concerning the dialog closed by the escape key pressing.
I guess it is reproducible in demo, if you go there
http://rap.eclipsesource.com/demo/release/controls/#Dialogs
* open input dialog
* type something randomly in the input text and press escape as well (very fast or type something with one hand and press escape with the other to be sure to reproduce)
* the dialog is closed
* none of the buttons are working anymore unless the page is refreshed, so something is probably broken in the session and I think you should see similar logs on the server that I had in my application
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:3645)
at org.eclipse.swt.SWT.error(SWT.java:3568)
at org.eclipse.swt.SWT.error(SWT.java:3539)
at org.eclipse.swt.widgets.Widget.error(Widget.java:1031)
at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:408)
at org.eclipse.swt.widgets.Widget.isValidThread(Widget.java:986)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:969)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)
at org.eclipse.swt.widgets.Text.verifyText(Text.java:1072)
at org.eclipse.swt.widgets.Text.internalSetText(Text.java:1056)
at org.eclipse.swt.widgets.Text.access$0(Text.java:1055)
at org.eclipse.swt.widgets.Text$1.setText(Text.java:1036)
at org.eclipse.swt.internal.widgets.textkit.TextOperationHandler.setText(TextOperationHandler.java:147)
at org.eclipse.swt.internal.widgets.textkit.TextOperationHandler.access$2(TextOperationHandler.java:146)
at org.eclipse.swt.internal.widgets.textkit.TextOperationHandler$1.run(TextOperationHandler.java:75)
at org.eclipse.rap.rwt.internal.lifecycle.ProcessActionRunner.executeNext(ProcessActionRunner.java:51)
at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1191)
at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1176)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1168)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2733)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2694)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:701)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:684)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
[Updated on: Wed, 29 October 2014 12:40] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03856 seconds