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

QGraphicsItem DeviceCoordinateCache cause render error when QGraphicsEffect is applied

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes