Detail
Detail
Enhancement
Detail
#27365
Select default selection based on the last (current) selection
With #26365 a mechanism was introduced to customize the default selection of a selection component (cf. com.top_logic.layout.component.ListSelectionProvider.computeDefaultSelection(...)).
Improvement
When selecting a new default selection (e.g. after model change), the last (old) selection should be included in the selection of the new default selection. If the possible selections differ only technically (e.g. represent different historical states), the user can be fooled into thinking that a selection has been retained after a model change.
Test
- com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/layout/selector/TestKeepSelectionOverModelChange.script.xml