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

QtWidgets: createWindowContainer() performance and stacking issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.6.0 Beta
    • None
    • 58f8dd4f92e0e647ed530554d7edf3d1a901f552

      createWindowContainer() creates a widget which wraps a QWindow. It lacks stacking functionality because of preventing all widgets to be native. I think that it should works if user wants turn all widgets into native:

      QWidget *wc = QWidget::createWindowContainer(window, parentWidget);
      wc->setAttribute(Qt::WA_NativeWindow);
      

      The window container should not paint the widget background, because it is covered up by a window, so it causes only performance issues.

      See Bad.png and Good.png.

        1. Bad.png
          Bad.png
          6 kB
        2. Good.png
          Good.png
          6 kB
        For Gerrit Dashboard: QTBUG-50477
        # Subject Branch Project Status CR V

            mmutz Marc Mutz
            zaps166 Błażej Szczygieł
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes