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

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.4.0 FF
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None

      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

          For Gerrit Dashboard: QTBUG-103484
          # Subject Branch Project Status CR V

            Activity

              People

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

                Dates

                Created:
                Updated: