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

QtWidgets: createWindowContainer() performance and stacking issues

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes