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

It's not possible to have the reversed unordered model in QSortFilterProxyModel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.8.0 FF
    • 6.8.0
    • Core: Item Models
    • None
    • 148add03f (dev)

    Description

      If we sort the model by a negative number column (invalid column) using QSortFilterProxyModel::sort it will unsort the model.
      If we assume that it's sorting the model by source indexes ascending, it's expected that changing the value of the second argument of the sort method to descending should sort(unsort) the model by the source id descending. But the method is not behaving as expected,

      Attachments

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

        Activity

          People

            ali.kianian Ali Kianian
            ali.kianian Ali Kianian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes