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

HWND paint on widget is not visible through QGraphicsProxyWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.6
    • None
    • Windows

      Hi.

      QGraphicsProxyWidget does not work with a widget that is painted on by our (old) video drivers. The embeded widget HWND/winId() is passed to the driver, and then to the underlying SDK. My understanding is that it doesn't know what the driver paint on it, so the proxy can't paint it either. From the Doc : widgets that wrap an external application or controller cannot be embedded.

      Is there any known way to circumvent this issue ?

      We tried to use the windows API to grab the widget's content, but it fails if the widget itself is not visible (it is possible that the drivers does not event draw on the widget/window, because it is not really visible).

      You'll find attached screenshot and an example of the issue we face.

      Thank you.

        1. ProxyWidget.PNG
          4 kB
          Romain GAUCI
        2. protoproxywidget.7z
          2 kB
          Romain GAUCI
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            r.gauci Romain GAUCI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes