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

Wrong initial index in RightToLeft Horizontal ListView

XMLWordPrintable

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

      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
      
      } 

        1. main.qml
          1 kB
          diredko
        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
            diredko diredko
            Votes:
            15 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes