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. @ video.mp4.png
          @ video.mp4.png
          489 kB
        2. image-2022-07-19-14-31-04-532.png
          image-2022-07-19-14-31-04-532.png
          19 kB
        3. image-2022-07-19-14-31-47-577.png
          image-2022-07-19-14-31-47-577.png
          8 kB
        4. Pasted Graphic 2.png
          Pasted Graphic 2.png
          601 kB
        5. VideoWidget_example.zip
          4 kB
        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