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

tst_QStaticText started failing on Ubuntu 16.10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.6.1
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:
      Ubuntu 16.10 amd64

      Description

      Recently (with some package upgrade?), tst_QStaticText started failing on Ubuntu 16.10 with Qt 5.6.1 release:

      ********* Start testing of tst_QStaticText *********
      Config: Using QtTest library 5.6.1, Qt 5.6.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.2.0 20160824)
      PASS   : tst_QStaticText::initTestCase()
      PASS   : tst_QStaticText::constructionAndDestruction()
      FAIL!  : tst_QStaticText::drawToPoint(Moderate caching) Compared values are not the same
         Loc: [tst_qstatictext.cpp(186)]
      FAIL!  : tst_QStaticText::drawToPoint(Aggressive caching) Compared values are not the same
         Loc: [tst_qstatictext.cpp(186)]
      FAIL!  : tst_QStaticText::drawToRect(Moderate caching) Compared values are not the same
         Loc: [tst_qstatictext.cpp(226)]
      FAIL!  : tst_QStaticText::drawToRect(Aggressive caching) Compared values are not the same
         Loc: [tst_qstatictext.cpp(226)]
      FAIL!  : tst_QStaticText::setFont() Compared values are not the same
         Loc: [tst_qstatictext.cpp(332)]
      FAIL!  : tst_QStaticText::setTextWidth() Compared values are not the same
         Loc: [tst_qstatictext.cpp(355)]
      PASS   : tst_QStaticText::prepareToCorrectData()
      PASS   : tst_QStaticText::prepareToWrongData()
      PASS   : tst_QStaticText::copyConstructor()
      FAIL!  : tst_QStaticText::translatedPainter() Compared values are not the same
         Loc: [tst_qstatictext.cpp(382)]
      FAIL!  : tst_QStaticText::rotatedPainter() Compared values are not the same
         Loc: [tst_qstatictext.cpp(422)]
      FAIL!  : tst_QStaticText::scaledPainter() Compared values are not the same
         Loc: [tst_qstatictext.cpp(452)]
      PASS   : tst_QStaticText::projectedPainter()
      FAIL!  : tst_QStaticText::transformationChanged() Compared values are not the same
         Loc: [tst_qstatictext.cpp(579)]
      PASS   : tst_QStaticText::plainTextVsRichText()
      PASS   : tst_QStaticText::setPenPlainText(argb32pm)
      PASS   : tst_QStaticText::setPenPlainText(rgb32)
      PASS   : tst_QStaticText::setPenPlainText(rgba8888pm)
      PASS   : tst_QStaticText::setPenPlainText(rgbx8888)
      PASS   : tst_QStaticText::setPenRichText()
      PASS   : tst_QStaticText::richTextOverridesPen()
      PASS   : tst_QStaticText::drawStruckOutText()
      PASS   : tst_QStaticText::drawOverlinedText()
      PASS   : tst_QStaticText::drawUnderlinedText()
      PASS   : tst_QStaticText::unprintableCharacter_qtbug12614()
      PASS   : tst_QStaticText::cleanupTestCase()
      Totals: 18 passed, 10 failed, 0 skipped, 0 blacklisted
      ********* Finished testing of tst_QStaticText *********
      

      I have #define'd DEBUG_SAVE_IMAGE, and attached the generated PNG files. Please let me know if I can provide any other debugging information.

        Attachments

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

          Activity

            People

            • Assignee:
              sletta Gunnar Sletta
              Reporter:
              mandriver Dmitry Shachnev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes