D6214: check window visibility at expose event

Marco Martin noreply at phabricator.kde.org
Tue Jun 13 15:54:11 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170613/2a483830/attachment.html>


More information about the Plasma-devel mailing list