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

ULong is not handled in QSortFilterProxyModel::lessThan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.2
    • Core: Item Models
    • None
    • Linux/X11

    Description

      On my machine(Ubuntu2004), QVariant::framValue(uint64_t(1)) results in an ULong variant. I have an ItemModel in which data() returns such variants when sorting, it will be sorted in string order but not integer.

      From my local Qt code, the reason looks like QMetaType::ULong is not handled in QAbstractItemModelPrivate::isVariantLessThan().

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            jcl jcl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes