Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.9.1
-
None
-
Qt 5.8 on Embedded Device (using OpenEmbedded and the meta-qt5 layer), running LuneOS on Nexus 5.
A patch, working for us, exists here: https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneui/recipes-qt/qt5/qtwayland/0003-QWaylandWindow-reset-window-should-reset-mask.patch
Description
In QtWayand, when the window is reset ( https://github.com/qt/qtwayland/blob/5.9/src/client/qwaylandwindow.cpp#L243 ), the window's mask is not changed. It means that when the window will be initialized again, it will not re-send the mask description to the server side through Wayland, leading to a server side window that doesn't have the wanted mask.
A simple fix would be to also reset mMask to QRegion().