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

QConcatenatedTablesProxyModel should return 0 rows when it has 0 columns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.6
    • Fix Version/s: None
    • Component/s: Core: Item Models
    • Labels:
      None

      Description

      As I was testing here:
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/372646/5

      If we report a number of rows but 0 columns the views get compelled to request these rows. Obviously we could argue that the view should be checking both but it also makes little sense that we claim to have N rows but nothing to show for.

      Furthermore, this behaviour should at least warn the user that something's off, which now it doesn't and you're just left to wonder why things aren't really working.

        Attachments

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

          Activity

            People

            Assignee:
            dfaure_kdab David Faure
            Reporter:
            apol Aleix Pol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes