Review Request 125961: [declarative/core] Use BypassWindowManagerHint only on platform X11

Martin Gräßlin mgraesslin at kde.org
Fri Nov 6 07:52:23 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125961/
-----------------------------------------------------------

(Updated Nov. 6, 2015, 7:52 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and Plasma.


Changes
-------

Submitted with commit ae4ba8920e6c909ae2cb2112539783eca1e31620 by Martin Gräßlin to branch master.


Repository: plasma-framework


Description
-------

BypassWindowManagerHint is a flag which is X11 specific. Because of
that for example QtWayland doesn't create a real window for QWindows
with this flag.

Using such a window will eventually result in a freeze of the whole
application. If one renders with QtQuick to such a window, mesa will
request a frame callback from the compositor. Just the compositor
will never deliver the frame rendered callback as it doesn't know the
window exists in the first place and by that doesn't render it and
will never ever deliver the frame rendered callback.

If now one tries to render another frame, mesa notices that it hasn't
got the frame callback and will block the thread till that happens.
With the setup described: that's until eternity.

Change-Id: I352ff788f90799ce0e0a5de53d5d34c02c8468c3


Diffs
-----

  src/declarativeimports/core/CMakeLists.txt 4e0fe8bf95d51c282060a0a05914c976cd4e5783 
  src/declarativeimports/core/config-x11.h.cmake PRE-CREATION 
  src/declarativeimports/core/tooltipdialog.cpp 121ccf91bb17c5dd17e0742831830186e9e44a1e 

Diff: https://git.reviewboard.kde.org/r/125961/diff/


Testing
-------


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151106/e9248713/attachment.html>


More information about the Kde-frameworks-devel mailing list