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

QGraphicsItem DeviceCoordinateCache cause render error when QGraphicsEffect is applied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.8.4
    • None
    • Linux Qt-4.8.4

      Say I have a QGraphicsItem* main as root item and many QGraphicsItem as children.
      When all QGrapihicsItem::setCacheMode(DeviceCoordinateCache) and GraphicsEffect applied to the root(main) item, some children item will not be rendered when zooming in.

      Note that if I remove caching(NoCache) or don't apply GraphicsEffect, all children will be rendered.

      I suspect this is has something to do with viewport/visible rectangle.

      Attached is an project that illustrate the problem.

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

            rodal Samuel Rødal
            aitjcize Wei-Ning Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes