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

QTableView hangs when number of rows large (>71582788)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.7.3, 4.8.1
    • Widgets: Itemviews
    • None
    • Mac OSX 10.7.5, Python 2.7

    Description

      When I subclass QAbstractTableModel and embed it within a QTableView, the application hangs when the model's rowCount() result exceeds 71582788. Inserting print statements within the code reveals that, above this limit, Qt starts calling headerData() on every row in the model (which takes forever). I have reproduced this with 2 versions of Qt4, using the PyQt4 and PySide bindings.

      Attachments

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

        Activity

          People

            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            chrisbeaumont Chris Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes