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

[Regression] Dynamic sorting of a QSortFilterProxyModel on a QSqlTableModel with OnManualSubmit is broken (4.7 regression)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.0
    • SQL Support
    • None
    • 3bed865c35d8eb920ba5a68276fdf1690c834a64

    Description

      If you have a QSortFilterProxyModel with a QSqlTableModel as a source and that source model has an EditStrategy of OnManualSubmit newly added rows will not be sorted properly. See the attached unit test.

      This is a regression in 4.7, this test passing on 4.6.3.

      Attachments

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

        Activity

          People

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            noah Noah Hamerslough
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes