| Summary: | [Controls Demo] Update virtual items with Jobs is broken | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> |
| Component: | Demo | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | ||
| Version: | 2.0 | ||
| Target Milestone: | 2.0 M4 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Ivan Furnadjiev
More over if you navigate away from the Table tab after this weird behavior you got: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3546) at org.eclipse.swt.SWT.error(SWT.java:3469) at org.eclipse.swt.SWT.error(SWT.java:3440) at org.eclipse.swt.widgets.Widget.error(Widget.java:1023) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:965) at org.eclipse.swt.widgets.TableItem.getParent(TableItem.java:228) at org.eclipse.rap.demo.controls.TableTab.updateItem(TableTab.java:289) at org.eclipse.rap.demo.controls.TableTab.access$1(TableTab.java:288) at org.eclipse.rap.demo.controls.TableTab$2$1$1.run(TableTab.java:149) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:38) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:179) at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1130) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1117) at org.eclipse.rap.demo.controls.ControlsDemo.createUI(ControlsDemo.java:55) at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:186) at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:298) at java.lang.Thread.run(Unknown Source) at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:102) Change the component to Demo. When using Jobs without the workbench (JobManagerAdapter) we need to activate/deactivate the UICallBack ourselfs. Same issue exists in Tree Tab. Fixed with commit 266903170b44f3265c35af0e880d2a02c2fa6e3b. |