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

QTextDocument adds additional empty rows if the html starts with \n

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 4.8.2
    • GUI: Text handling
    • Windows 7, Ubuntu 10.04

      The attached test application can be used to reproduce the issue:

      The Testprogram consists of a area with a QGraphicsTextItem and buttons. When you doubleclick on that area the text could be edited. At the bottom of the test widget are some buttons to interact with the text/make settings to the document.

      • the html-button sets the documents html-string to itself and make a debug message
      • the make changes button changes the document so that the error happens
      • The example-button just sets a predefined html-text with a <table>-tag

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

            esabraha Eskil Abrahamsen Blomfeldt
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes