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

[REG: 6.5.2->6.5.3] headerDataChanged is now queued and parameters may be out of sync

    XMLWordPrintable

Details

    • 734354c0b (dev), f77af7014 (6.7), 14ee33105 (6.6), 99cfde00b (tqtc/lts-6.5)
    • Foundations Sprint 97

    Description

      Caused by:
      https://codereview.qt-project.org/c/qt/qtbase/+/487372

      which now delays emitting headerDataChanged signal of a proxy model. If there are more changes than just one to the model, the headerDataChanged signal handler would be run with unintended section index.

      That can easily lead to crashes as the section index can now be out of bounds.

      Attachments

        1. qtbug119155.zip
          1 kB
          Joni Poikelin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            poikelin Joni Poikelin
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: