<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I am trying to output a video stream into a Qt QWidget using the
waylandsink plugin. This is with gstreamer 1.20 and QT 5.15.2.</p>
<p>In general this is working, but if the QWidget gets hidden as the
result of being in something like a QStackedWindow and then raised
the video is no longer shown.</p>
<p>I am using the Weston compositor on an embedded platform, but I
have also tried the KDE compositor under Fedora35 with the same
effect.</p>
<p>It may be related to the issue I saw in <a
href="https://bugs.kde.org/show_bug.cgi?id=445631"
class="moz-txt-link-freetext">https://bugs.kde.org/show_bug.cgi?id=445631</a>
where waylandsink's subsurface is not drawn as its parent
(QWidget) surface remains in a "hidden" state.</p>
<p>I'm not sure which of the Qt, waylandsink, Wayland compositor is
really at fault here, but I assume that either waylandsink, which
has access to all of the surfaces and subsurfaces, could "wake up"
the QWidget's surface when it wants to draw or perhaps better the
QWidget should somehow "wakeup" it's surface when it is raised.</p>
<p>Any ideas ?<br>
</p>
<p>
<style type="text/css">p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }</style></p>
</body>
</html>