Community
Participate
Working Groups
When you click on the "+" button in MULTI FileDialog the content of the dialog disappears. The reason for it is the rendering of bound.x and bound.y in case of ScrolledComposite - see WidgetLCAUtil#renderBounds: .... // TODO [tb] : switch for ScrolledComposite ...
Fixed by moving the check for the parent beeing ScrolledComposite to the client, property-handler for "bounds" in AdapterUtil.js. Its not quite as simple as on the server, since a) The parent is set by the scrolledComposite ("setContent") after everything else bas been renderd, so that you cant check for the actual parent until that happend, and b) ScrolledComposite is actually not the parent on the client, the ScrolledComposites "clientArea" is, wich is a normal CanvasLayout. Solved by setting the scrolledComposite as userData in AdapterUtil#setParent. (Which was ported from WidgetUtil#setParent, where the case was originally ignored). Widgets not yet using the protocol are still using the old method where the switch happens on the server and there is no userData set.