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

QPainter::drawLine() called with Qt::DashLine may shift the dash offsets depending on the values passed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.3.3
    • GUI: Painting
    • None

      When calling QPainter::drawLine() with a pen using Qt::DashLine on X11, the dash offsets may shift depending on the values passed to the drawLine() call. This problem goes away (but introduces a performance hit) when calling setDashPattern() explicitly on the pen.

        1. sliding_dash.pro
          0.1 kB
        2. sliding_dash.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rodal Samuel Rødal
            admin Administrator
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes