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

Wrong initial index in RightToLeft Horizontal ListView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • None

    Description

      Wrong initial index in RightToLeft Horizontal ListView
      
      Horizontally mirrored ListView doesn't apply correct index.
      
      Bug is was reproduced on Qt 5.12, 5.15
      
       
      >>>>>>>>>>>>>>>>> LeftToRight correctly applies index#3
      
      ListView {
      
       orientation: ListView.Horizontal
      
       layoutDirection: ListView.LeftToRight
      
       model: ["0", "1", "2", "3", "4", "5", "6"]
      
       currentIndex: 3
      
      }
      
       
      >>>>>>>>>>>>>>>>> RightToLeft DOESN'T apply index#3, index#0 is displayed instead
      
      ListView {
      
       orientation: ListView.Horizontal
      
       layoutDirection: ListView.RightToLeft
      
       model: ["0", "1", "2", "3", "4", "5", "6"]
      
       currentIndex: 3
      
      } 

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              diredko diredko
              Votes:
              15 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes