I have a problem with the Tree component since Vaadin 6.4.0.
When first shown, the top node seems to be missing, but with Firebug I’ve determined that it’s present, but out of the visible range on top. When clicked on a node, the tree shows correctly. When hitting F5 in the browser, the top node is again out of range.
The problem occurs in FF 3.6. In IE 7 & 8 it’s fine.
When reverting back to Vaadin 6.3.x => no problems
Switching the theme back to reindeer doesn’t solve the problem.
As you can guess the given code does not help me that much. I tried to reproduce the issue with following code snippet, but without any success. We are going to build 6.4.1 quite soon, so I’d like to resolve the issue soon.
@Override
public void init() {
VerticalLayout content = new VerticalLayout();
final Window mainWindow = new Window("TestApp", content);
setMainWindow(mainWindow);
content.setSizeFull();
content.addComponent(new Label("Foobar"));
Tree t = new Tree("Tree caption");
t.addItem("Foo");
t.addItem("Bar");
t.addItem("Child");
t.setParent("Child", "Foo");
t.setSizeFull();
content.addComponent(t);
}
I’d guess not that much. There is so much magic happening behind the scenes that a static view of DOM is not enough. Try to reduce the test case from your application by slowly removing features and dependencies. I takes some time, but once you have the test case, somebody will probably fix the issue sooner more than later.