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

QGraphicsEllipseItem drawn as polygon in QGLWidget with cosmetic QPen

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes