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

CustomDashLine drawing bug in Qt 4.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.1
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:
      Windows 7, Linux (RedHat enterprise 6.2 & Ubuntu 10.04)

      Description

      It is not possible to use Qt::CustomDashLine style with QPen because of drawing issues (see attached screenshot). The issue is easy to reproduce with the attached application.

      The issue cannot be reproduced with Qt 4.7.4 (or Qt 4.5.3) and this can be reproduced with Qt 4.8.0. Also, this can be reproduced with the technical preview version of Qt 4.8.0.

        Attachments

        1. patch.diff
          2 kB
        2. qlinebug.cpp
          1.0 kB
        3. qlinebug.png
          qlinebug.png
          4 kB
        For Gerrit Dashboard: QTBUG-23248
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            rodal Samuel Rødal
            Reporter:
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes