Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2129

QWidget::createWindowContainer has transparent area.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.2.4
    • PySide
    • None
    • Windows 10 21H2 & 22H2.
    • Windows

    Description

      When usingĀ 

      QWindow::fromWinId(wid);
      QWidget::createWindowContainer(window, container, Qt::Widget);
      

      to embed a PySide2/6 window into a C++ window, would create a strange transparent area. Like this,

      The parent widget has a red background with auto fill background on. The window container widget does not have any background. The embedded window does not fullfill the container widget as expected. C++ and Python source code attached.

      Attachments

        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
            kreogist Miyanaga Saki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes