[JIRA] (GLAZEDLISTS-462) selection is lost when update on TreeList happens

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[JIRA] (GLAZEDLISTS-462) selection is lost when update on TreeList happens

JIRA jira-no-reply@java.net

    [ https://java.net/jira/browse/GLAZEDLISTS-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=379354#comment-379354 ]

wimc commented on GLAZEDLISTS-462:

Although the above patch works for my use case, I don't think this is the correct solution.
It does change the behaviour of the TreeList.
This is clearly visible when you run the TreeList test suite.

> selection is lost when update on TreeList happens
> -------------------------------------------------
>                 Key: GLAZEDLISTS-462
>                 URL: https://java.net/jira/browse/GLAZEDLISTS-462
>             Project: glazedlists
>          Issue Type: Bug
>          Components: treetable
>    Affects Versions: current
>         Environment: Operating System: All
> Platform: All
>            Reporter: brands
>            Assignee: jessewilson
>             Fix For: milestone 1
>         Attachments: sortedList_selection_change_by_keyboard.patch
> The test case
> EventSelectionModelTest.guiTestSelectionOnTreeListUpdate_FixMe()
> currently fails (the last assertion).
> An EventSelectionModel based on a TreeList looses
> its selection when an update happens on the selected element
> in the source list.

This message was sent by Atlassian JIRA