Window.setContent() does not call requestRepaint()


I’m not sure if this also applies to Vaadin 6, but in Vaadin 7 I noticed that I need to manually call requestRepaint() after invoking setContent() on a sub window.
I would expect the repaint to be requested automatically, so is this a bug?


Yes, you should not ever have to call requestRepaint manually. Try the latest nightly of Vaadin 7. If the issue is still there, then create a separate test case of the issue in an separate project and report it as a ticket at

Created ticket #8832. It has already been set to Major / Vaadin 7.0.0.alpha3.

Note that I didn’t test with Vaadin 6, it may have the same bug.