davidedmundson added a comment.
> 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. REPOSITORY R135 Integration for Qt applications in Plasma REVISION DETAIL https://phabricator.kde.org/D6214 To: mart, #plasma, graesslin Cc: davidedmundson, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas