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

calls to mergeCells can break asserts within QTextTable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.3, 5.0.0
    • 4.7.3, 4.7.4
    • GUI: Text handling
    • None
    • windows and mac, standard Qt build (4.8 as well)

    Description

      Inside rows() it updates the state of the tables. However in some cases calls to mergeCells() can break that assertion.

      Attached is a cpp files that constructs such a table.

      While it is possible to avoid the crash by constructing the table differently, in my case it is an rtf parser and difficult to change how the table is constructed due to the way the rtf specification handles tables.

      Anyway, its a crash, its in Qt, its easily reproduced if not likely to be encountered.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            elhedran Ian Walters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes