]> source.dussan.org Git - vaadin-framework.git/commit
Fix occasional empty rows in Table and TreeTable (#9800)
authorHenri Sara <henri.sara@gmail.com>
Wed, 9 Aug 2017 11:28:17 +0000 (14:28 +0300)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2017 11:28:17 +0000 (14:28 +0300)
commitee9f287917056c61537559286577b38a1a93f70f
treeba08b34bd64c188db1507fae0587da0268d0dd0a
parent0c993377de46dbe89909f1f1cab06d3851e90851
Fix occasional empty rows in Table and TreeTable (#9800)

Picked from #9551 in 7.7

There's an intermittently happening issue with both Table and TreeTable,
which results in row data disappearing.
This change removes a method which is probably a vestigial one from over
five years ago and other changes are handling the things the method used
to perform. Currently the method removes rows deemed unnecessary from
the row buffer. The problem is, those rows are visible to the user and
removing causes row contents to be lost.
Also included are manually runnable test cases which demonstrate that
this removal actually prevents the issue from happening.

Fixes #7964
Fixes #5030
compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java
uitest/src/main/java/com/vaadin/tests/components/table/ComponentsDisappearWhenScrolling.java [new file with mode: 0644]
uitest/src/main/java/com/vaadin/tests/components/treetable/TreeTableComponentsDisappearWhenScrolling.java [new file with mode: 0644]