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

Adding a QGraphicsProxyWidget to scene causes QGraphicsItem with a child QGraphicsProxywidget to paint incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.0
    • Widgets: GraphicsView
    • None
    • Windows 10,
      Qt Creator 3.6.1,
      Intel I7 processor,
      Tested both Mingw and MSVC

    Description

      Create a simple QGraphicsItem with a child QGraphicsProxyWidget.
      And add this to scene. No problem till here.
      If you add another QGraphicsProxyWidget into the scene, painting of the previous QGraphicsItem messes up.

      The attached test code works correctly on Qt5.6 but not on Qt5.7. When you move the splitter left&right you will see the error

      Attachments

        1. ProxyPaintTest.zip
          21 kB
        2. ViewTest.zip
          24 kB

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              yagabeyqt yagabeyqt
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes