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

QTableView crashes randomly in paintEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 4.8.3, 5.0.0, 5.1.0
    • Widgets: Itemviews
    • None
    • MS Windows 7, RedHat Enterprise Linux, MS Windows 8

      QTableView crashes in paintEvent() randomly when model is being populated and view is scrolled.
      Under undefined circumstances the first visual row returned is greater than last visual row causing "QBitArray drawn(...)" to be initialized with a negative number: a scenario which QBitArray fails to handle, see:

      https://bugreports.qt-project.org/browse/QTBUG-24345

      The bug in QBitArray constructor is extremely bad.

      Though the screenshot attached is from Qt 4.8.3, I see no improvement in QBitArray in Qt5.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            eliseev Sergey Eliseev
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes