mart added a comment.
In https://phabricator.kde.org/D6214#116240, @davidedmundson wrote: > > it's possible that a window gets an expose event even if the qwindow > > is not visible > > How? > > QWaylandXdgSurfaceV6::handleExpose returns false if it's not configured yet, and we can't receive a configure before we've created the shell, and we don't create the shell till we're visible. tough i clearly receive an expose event right after windows are created, before they are set to visible (perhaps when qtwayland is creating the surface the first time before is shown?) REPOSITORY R135 Integration for Qt applications in Plasma BRANCH master REVISION DETAIL https://phabricator.kde.org/D6214 To: mart, #plasma, graesslin, davidedmundson Cc: davidedmundson, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas