Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25154

ListView should have a mode to disable positioning of selected items into the visible area

XMLWordPrintable

      When an item is selected in a ListView, it moves this selected item into the visible area. The item is moved until it is completely visible or, in case it is larger than the visible area, until its left/top is aligned to the left/top of the ListView.

      While this behavior is useful is some scenarios, it should be possible to disable the positioning after selection. I'm trying to write a video editor and the ListView represents my timeline, some of the items will be larger than the visible area and there are controls at the beginning and the end of those items. If the ListView always moves the item until it is aligned with the beginning of the visible area, the user will be unable to use those controls that are placed at the end of this item.

      I guess an enum that would have some possible behaviors for list view selection positioning would help.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            thiagoss Thiago Sousa Santos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  There are no open Gerrit changes