Opened 2 years ago

Closed 2 years ago

#385 closed bug (fixed)

Selected item behaviour when sorting a listview

Reported by: jPV Owned by:
Priority: normal Milestone: 5.0-2018R2
Component: List.mui Version: 5.0-2017R4
Severity: minor Keywords:
Cc: OS Platform: undefined
Blocked By: Blocking:
Release Notes:



If I have a selected item in a listview and sort the listview (programmatically from Hollywood in my case), the selection doesn't follow the item if it moves to a new position.

According my betatester this happens with the MUI 5.0-2017R4, but it does not happen on my MUI from OS4.1FE. So sounds like it's got broken at some point.

I don't know if this got already fixed with the similar issue with active item sorting (bug #384)

Steps to reproduce

  1. Select an item in a listview, let's say the bottom one
  2. Sort the listview so that position of the previously selected item changes, let's say that the item in the step 1 will be at top after sorting

Expected results

The item at top should be selected

Actual results

The bottom item is selected


Here is a test executable:
And it requires this in the same dir:

For my OS4.1FE default MUI it reports ("Selected item" lines):
"Selected item is 2"
"Selected item is 0"

But for 5.0-2017R4 it reports:
"Selected item is 2"
"Selected item is 2"

Change History (1)

comment:1 Changed 2 years ago by Thore Böckelmann

Milestone: future release5.0-2018R2
Priority: undecidednormal
Resolution: fixed
Status: newclosed

This issue has been fixed in r6298 already and hence in the recent nightly builds.

Note: See TracTickets for help on using tickets.