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

QListView will be reset when setSelectionMode is MultiSelection

    XMLWordPrintable

Details

    • Linux/X11
    • 26bebd2037eb69f7c939c899e3238a3e0f0a2376 (qt/qtbase/dev) bf22e181d024fe62dbd3850d955c55fc18d24efe (qt/qtbase/6.2) 4b42bca2092125071092f2de0a193ed945de58eb (qt/qtbase/6.1) 9665f80adae95f0bb0430329d97b74f8b38c3694 (qt/tqtc-qtbase/5.15)

    Description

      phenomenon:
      When the listview ViewMode  is  IconMode, if SelectionMode() is not SingleSelection  value,  the icon will gradually scroll when the item is deleted.
      If  ViewMode  is  ListMode, it will scroll to the top.

      hope:
      When deleted, the position of all items will not change, which is consistent with the behavior when set to SingleSelection.

      Attachments

        1. 11.mp4
          2.45 MB
        2. qlistview.zip
          546 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            kingderzhang kingderzhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes