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

QTextDocument's rich text engine is even buggier in 4.6 than 4.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.6.0
    • GUI: Text handling
    • None
    • Linux, although I also hit (worse) problems on the Mac. Haven't tried Windows yet.

    Description

      The attached program works fine (well, doesn't crash) with 4.5.2.

      But page preview crashes on 4.6.0 if you use it to preview a QTextDocument; doesn't crash to preview a QPainter-created page though.

      Also, the output is generally awful in all formats when the source is a QTextDocument, although slightly less bad if the QTextDocument was created from an HTML string rather than using a QTextCursor.

      BTW If you run the attached with an argument:

      ./outputsampler 1

      it will attempt to produce output in all sensible formats using QPainter, QTextDocument/QTextCursor, and QTextDocument/HTML, so you might find it useful for testing & debugging...

      Attachments

        1. outputsampler.tar.gz
          374 kB
        2. outputsampler.tar.gz
          165 kB
        3. outputsampler.tar.gz
          158 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            m.n.summerfield Mark Summerfield
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes