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

QPainter::DrawLine() wrong position at QGlWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.8.0
    • GUI: OpenGL, GUI: Painting
    • None

      Lines are painted in a QGLWidget one pixel too far left. The whole can be checked in "Linebug.zip". Rectangles are not affected by this bug. In Qt, version 4.7.4, it works as expected. If i paint a Line with width > 1 px, the position will be correct.

      The lower half of the lines were drawn on a pixmap, which was also placed into the QGLWidget at pos 0,100 .:

        1. Linebug.zip
          34 kB
          Jens Dunzweiler
        2. bug.png
          31 kB
          Jens Dunzweiler
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            dazedly Jens Dunzweiler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes