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

QPainter::drawPath leaving outlines in QWidget after call to translate.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 4.6.2, 4.6.3, 4.7.0, 4.7.2
    • GUI: Painting
    • Mac OS X 10.6.4, any version Qt 4.6.2 Qt 4.6.3 or Qt 4.7.0
      Works correctly on Windows XP/Vista/7 with these versions of Qt.

    Description

      As far as I can test, this problem only occurs using the raster engine and the Max OS X 10.5 SDK.

      When you create a QPainterPath, and add text to it with any QPainterPath::addText variant, then add that path to a QPainter with QPainter::drawPath.

      If the QPainter is translated or scaled, the text will leave an outline after the second redraw.

      The bug is really specific, but I've provided code to recreate it. It works fine on Windows. Have not tested it on linux.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            milton.bstone eddie boswell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes