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

Artifacts with QGraphicsDropShadowEffect on a QGraphicsItem with children.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.6.3
    • Widgets: GraphicsView
    • None
    • OS 10.6.4, iMac 24", Qt 4.6.3 from the Mac SDK

    Description

      With the following minimal example:

              QGraphicsScene* gs = new QGraphicsScene();
      	QGraphicsView* gv = new QGraphicsView(gs, 0);
      	QGraphicsRectItem* ri = new QGraphicsRectItem(0, 0, 200, 100, 0, gs);
      	ri->setFlag(QGraphicsItem::ItemIsMovable);
      	QGraphicsDropShadowEffect* shadow = new QGraphicsDropShadowEffect();
      	ri->setGraphicsEffect(shadow);
      	QGraphicsEllipseItem* ei = new QGraphicsEllipseItem(QRectF(-10, -10, 20, 20), ri);
      	gv->resize(640, 480);
      	gv->show();
      

      Drag the box around the view. Especially diagonally down and to the right, and you will see artifacts from the ellipse.

      I thought this bug would be fixed from here: http://bugreports.qt.nokia.com/browse/QTBUG-4915 but I guess it was a different one after all.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            leos Leo Spalteholz
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes