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

CustomDashLine drawing bug in Qt 4.8

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Done
    • 4.8.0
    • 4.8.1
    • GUI: Painting
    • None
    • 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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            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