gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.52k stars 374 forks source link

CellTree loses selection of a node while expand #7153

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 7156

Issue Report Summary: CellTree loses selection (css style)

Found in GWT Release 2.4.0
Encountered on Win7, FF5

You can reproduce this issue by doing the following:
1) Create a simple project with CellTree usage
2) Start the application, load the tree
3) Select a tree node
4) Expand any node (selected or another)

The selected node is not selected any longer.

Workaround:
final CellTree tree = new CellTree(model, null, resources){
    @Override
    protected void onBlur() {
        super.onFocus();
    }
};

The workaround might cause some other problems, but it solves the described issue a
part of one case. If I try to expand selected node, it loses selection style, but when
I collapse it back, it's selected again.

Reported by tembi4.84 on 2012-01-27 13:21:18

dankurka commented 9 years ago

Reported by rdayal@google.com on 2012-02-02 19:18:03

dankurka commented 9 years ago

Reported by dankurka@google.com on 2013-05-28 01:54:40