Community
Participate
Working Groups
Resizing the flyout palette does not work, that is not the real issue, but doing that has some bad effects in RAP, because editors does not close properly, and then the whole workbench is broken see screenshot, even the editor is closed, the editor content remains in the area I attach a snippet to reproduce it, launch it double-click on item one, try to resize palette, and try close the editor. I managed to have the issue gone by updating GEF code (see attached patch)
Created attachment 206618 [details] screenshot of the issue
Created attachment 206619 [details] snippet allowing to reproduce the bug
Created attachment 206620 [details] Temporary patch to workaround the issue
I Do not know if it can help to investigate this issue, but I wanted to try with last GEF port code taken from HEAD and RAP 1.5 M5, so the issue is still here but now I can see following stack trace, and it seems to be related: java.lang.IllegalAccessError: tried to access method org.eclipse.swt.widgets.Widget.<init>()V from class org.eclipse.swt.widgets.Tracker at org.eclipse.swt.widgets.Tracker.<init>(Tracker.java:136) at org.eclipse.gef.ui.palette.FlyoutPaletteComposite$TitleDragManager.handleEvent(FlyoutPaletteComposite.java:954) at org.eclipse.swt.internal.widgets.UntypedEventAdapter.dispatchEvent(UntypedEventAdapter.java:646) at org.eclipse.swt.internal.widgets.UntypedEventAdapter.dragDetected(UntypedEventAdapter.java:237) at org.eclipse.swt.events.DragDetectEvent.dispatchToObserver(DragDetectEvent.java:53) at org.eclipse.rwt.internal.events.Event.processEvent(Event.java:46) at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.java:166) at org.eclipse.swt.internal.widgets.displaykit.DNDSupport.processDragStart(DNDSupport.java:123) at org.eclipse.swt.internal.widgets.displaykit.DNDSupport.access$0(DNDSupport.java:116) at org.eclipse.swt.internal.widgets.displaykit.DNDSupport$1.run(DNDSupport.java:99) at org.eclipse.rwt.lifecycle.ProcessActionRunner.executeNext(ProcessActionRunner.java:53) at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1132) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1124) 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:702) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:685) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157) at snippet.gef.sample2.Application.start(Application.java:18) at org.eclipse.rap.ui.internal.application.EntrypointApplicationWrapper.createUI(EntrypointApplicationWrapper.java:25) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:174) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:283) at java.lang.Thread.run(Thread.java:662) at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:101)
Fixed in master with commit b9663e9a88351debf0b4653e71194a3192b7e798