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

QVideoWidget always draws on top of QStackedWidget

XMLWordPrintable

    • Windows

      I created a QStackedWidget and set its stackingMode to StackAll by

      auto layout = qobject_cast<QStackedLayout*>(ui->preview->layout());
      layout->setStackingMode(QStackedLayout::StackingMode::StackAll);
      

      But the QVideoWidget in lower page always draws on top of higher page.

      The QVideoWidget is promoted from QWidget.

      See the screenshots, yellow "1"s are covered by only QVideoWidget.

       

        1. image-2022-07-19-14-31-04-532.png
          19 kB
          vainman H
        2. image-2022-07-19-14-31-47-577.png
          8 kB
          vainman H
        3. @ video.mp4.png
          489 kB
          Volodymyr Matviienko
        4. Pasted Graphic 2.png
          601 kB
          Volodymyr Matviienko
        5. VideoWidget_example.zip
          4 kB
          Volodymyr Matviienko
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtmultimediateam Qt Multimedia Team
            namniav vainman H
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes