Community
Participate
Working Groups
The error occurs when a maximized shell should be restored after a browser resize. Steps to reproduce: 1) Start a RAP application with a workbench (e.g. org.eclipse.rap.demo with entrypoint default). 2) Maximize the WorkbenchWindow (Shell). 3) Resize your browser (I have made it smaller). 4) Reload the app with a browser reload. 5) Resize your browser (make it bigger). A really strange behavior shows up. The Shell resizes but the visible area is only the size of the last saved Shell size.
Created attachment 162185 [details] Quick fix that solves the problem The problem is that the bounds are also rendered to the client for maximized Shells. After a recent change in the order of render calls in ShellLCA, the client Shell receives a setMaximized and after this a setSpace call. This breaks the client. The quick fix is to omit the renderBounds call for max'ed shells.
Committed a modified version of the patch. This is only a quick workaround, we still need a decent fix.
Created attachment 162282 [details] new fix This essentially moves Ralfs fix to the clients Shell.js where it's less intrusive. It also refactors the fix for bug 306030 to be solved in Window.js (where it belongs) instead Shell.js, and bug 306043 to actually send valid values instead of ignoring invalid ones. The qx.js must be rebuild.
Applied second patch to CVS HEAD