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

QListview selectcount error with items of differing sizes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15, 6.0, 6.2, 6.3
    • Fix Version/s: 6.3.0 Beta2, 6.4.0 Beta1
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:
      Ubutnu 19.04
    • Platform/s:
      Linux/X11
    • Commits:
      bb67b6ff26 (qt/qtbase/dev) bb67b6ff26 (qt/tqtc-qtbase/dev) 9b6e3c0d5d (qt/qtbase/6.3) 9b6e3c0d5d (qt/tqtc-qtbase/6.3) fdc061d20d (qt/qtbase/6.2) fdc061d20d (qt/tqtc-qtbase/6.2)

      Description

      when we get QListView selectedIndexes, QListview will return error count see count.mp4.

      a mini reproduce demo is listviewtest.zip

        Attachments

        1. count.mp4
          1.06 MB
          kingderzhang
        2. dev.gif
          2.29 MB
          kingderzhang
        3. listview_selection.tar.gz
          848 kB
          Richard Moe Gustavsen
        4. listview-shift-select1.mov
          10.19 MB
          Richard Moe Gustavsen
        5. listview-shift-select-2.mov
          9.15 MB
          Richard Moe Gustavsen
        6. listviewtest.mov
          4.25 MB
          Richard Moe Gustavsen
        7. listviewtest.zip
          852 kB
          kingderzhang
        8. vertical.mp4
          1.50 MB
          kingderzhang
        9. vertical.png
          139 kB
          kingderzhang
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            kingderzhang kingderzhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes