Closed vaadin-bot closed 11 years ago
Originally by dosendoc
I've just prioritized this bug using a Pro account. The issue still exists in version 7.0.5.
Originally by dosendoc
Steps to reproduce this problem:
table.setSelectable(true);
table.setMultiSelect(true);
table.setImmediate(true); // Optional, makes it easier to see glitchy behaviour
Let me know if you need more help with reproducing the issue.
Originally by @hesara
The root issue seems to be in SQLContainer.indexOfId(id), which only seeks in added items, on the current page and forward from the current page. In this case, it is called for an item that is before the current page.
Originally by @hesara
Fix implemented for 6.8 branch (to be merged to 7.x).
Originally by @hesara
See #11849 for merge to Vaadin 7.0.
Originally by baseballrey14
Problem Using the com.vaadin.ui.Table component in multi-selection mode and the Vaadin SQLContainer results in incorrect element selection while quickly scrolling.
-*Test Case:** I have create a test application that is attached. The table is displayed on the left side of the split panel and the table's getValue() is displayed on the right side. To reproduce the error:
It may take a few attempts, but occasionally two errors can occur.
This can also occur when:
It may take a few attempts, but occasionally the value is highlight as if it is selected, but is quickly deselected. At this point you can see that the table's getValue() returns the value. (Even though it isn't highlighted). If you Ctrl select another item, the getValue() returns 2 items when only 1 item is highlighted.
This error occurs quite often, especially just before the SQLContainer's page limit. (200 in this example).
Imported from https://dev.vaadin.com/ issue #10376