https://glazedlists.dev.java.net/issues/show_bug.cgi?id=464 Issue #|464
Summary|TableComparatorChooser & wrong selection
Component|glazedlists
Version|current
Platform|All
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|swing
Assigned to|jessewilson
Reported by|brands
------- Additional comments from
brands@... Sun Feb 8 17:52:01 +0000 2009 -------
Bugreport from user list:
https://glazedlists.dev.java.net/servlets/ReadMsg?list=users&msgNo=3726"I'm using the TableComparatorChooser to sort my rows and stumbled upon an
annoying issue. The selection stays when sorting, but when using the arrow
keys to navigate to the next/previous row, the first row of the table is
selected instead of the next/previous row of the current selection. I've
noticed that when sorting the rows, the anchor/lead selection index is set
to -1 which causes this incorrect behaviour. It seems that the selection
model's state is incorrect. Having a selection without anchor or lead
indexes looks wrong in my humble understanding of the swing table model."
I've added a test case for this problem:
EventTableModelTest.guiTestChangeSelectionByKeysInSortedState_FixMe()
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...