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

rich text gets converted to monospace in CI because QFontDatabase::GeneralFont is "Sans Serif" and is monospace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.0 FF
    • GUI: Text handling
    • None
    • 9fa471b72 (dev), bf8167c5f (dev), 82cc779ee (6.7)

    Description

      A blanket bug; there are many related ones.

      For example:

       119337: ********* Start testing of tst_QTextCursor *********
       FAIL!  : tst_QTextCursor::insertHtml(insert as html at end of heading) Compared values are not the same
          Actual   (cursor.document()->toMarkdown()): "# `Hello WorldOther text`\n\n"
          Expected (expectedMarkdown)               : "# Hello WorldOther text\n\n"
          Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/text/qtextcursor/tst_qtextcursor.cpp(1532)]
       Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 248ms
      

      https://testresults.qt.io/logs/qt/qtbase/fcfa1defc77f6fde9965becbc916972b19fa8bd9/LinuxUbuntu_20_04x86_64LinuxQEMUarmv7GCCqtci-linux-Ubuntu-20.04-x86_64-50-1baa70Sccache/d703acfa936028eec08472566887d9030fbdf545/test_1652448891/log.txt.gz

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes