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

Painter is messing up the text and rounded rectangle drawing (MSVC2019/release)

XMLWordPrintable

    • Windows
    • 70e7445dbeba9bd24de963e7e431c4698b6b4569 (qt/qtbase/5.12)

      I have recently stumbled upon a few bugs in Qt 5.12.4 release builds only. In debug build, it works as expected. Attached the source code to reproduce the problems.

      Problem 1:
      I have a QTestWidget which is trying to custom paint some text on the screen but the painting is somehow messed up.

      Problem 2:
      Another problem is if I create a QPainterPath with a addRoundedRect() it is not painted properly. Although addRect() works fine.

      The same code does use to work fine in Qt 5.6.0 both in debug and release.

       

        1. qtbugs.mp4
          54 kB
          Khushwant Singh
        2. bugs.zip
          2 kB
          Khushwant Singh
        3. qtbug77119.zip
          3 kB
          Andy Shaw
        4. qtbug77119.jpg
          124 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-77119
        # Subject Branch Project Status CR V

            vgt Eirik Aavitsland
            singh Khushwant Singh
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes