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

use QTextDocument in QPreviewPrintDialog ,applicaion will hang for a long time ,if setHtml() with a long string.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2, 6.2.3
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      if QTextDocument's setHtml("a long string") the application will hang forever.

       

      see attached example.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              johnlayt John Layt
              Reporter:
              xiaoyifang yifang xiao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes