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

QGraphicsEllipseItem drawn as polygon in QGLWidget with cosmetic QPen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.3.1, 5.3.2
    • None

      In a small QGraphicsScene that is fitted into a larger QGraphicsView, an ellipse may be drawn as a polygon such as this:

      This only happens if:

      • the scene is considerably smaller than the QGraphicsView into which it is fitted,
      • it is rendered onto a QGLWidget
      • with a cosmetic pen
      • of width 2.5 or larger
      • while keeping the aspect ratio

      A minimal example is attached.

        1. qt-bug-ellipse-polygon.png
          8 kB
          Wintermute
        2. qtbug.cc
          1 kB
          Wintermute
        3. qtbug.pro
          0.1 kB
          Wintermute
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            wintermute Wintermute
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes