Disappearing widgets

Hello people,

I have a problem with disappearing widgets.

I have a main window with a vertical layout containing a top toolbar and a a panel. Inside the panel, I set the current view of the application.

One of my views is a split panel subclass with a table and a form. When I show this view, the panel is just empty. All other views work fine.

If I change the main window code to put the views directly in the vertical layout instead of the panel, all views show up as intended.

Unless I have done something bad, this looks like a Vaadin bug to me.

Here is the code involved:

Bug in Vaadin or in my code?

Bo.

Have you tried launching your application with debug console on and using the “analyze layout” option ?

Described behavior may also happen on wrong layout sizing which is detected and displayed by the debug console layout analyzer.