- assigned_to: twall --> gdavison
I have an abbot test that attempts to select a cell in a table using actionSelectCell(Component, String). However, if the cell text is very long it fails with the following:
abbot.tester.ActionFailedException: Could not make visible by scrolling the point (50,0) on ...
This seems to be due to the way the method JComponentTester::scrollToVisible tries to make the cell visible. It first checks whether the cell's bounding rectangle is contained within the viewport bounds. This always fails because the viewport is smaller than the bounds. It then attempts to scroll the viewport to make the rectangle visible. Finally it checks whether the top left of the cell bounds are visible, but that isn't what was actually requested of the table and it isn't.
A possible fix is to make the code explicitly attempt to make the top left corner visible rather than the entire bounds.