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

ShapePath DashLine not rendered correctly if scaled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5
    • Quick: Shapes
    • None
    • Kubuntu 22.04
    • Linux/X11, macOS, Windows

    Description

      A ShapePath that has  DashLine as StrokeStyle is not rendered correctly (the right and lower  part seems to be missing) if it is scaled to something bigger than 1.0.

      The same ShapePath is rendered correctly if the StrokeStyle is set to SolidLine.

      I've attached an example project that illustrates the problem (click on the "+" button to zoom in and see the effect)

      I've tested this with Qt6.5.3 and Qt 6.6.1 with the same results.

      Attachments

        1. dashtest.zip
          2 kB
          Ludger Krämer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            lkdem Ludger Krämer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes