[qt/qt/qtwayland]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtwayland Pushed by mirror-service into branch '6.12'. Changed from 3add9e2b62309bc5cfaafc539c26120436f7f3ef to de4632388ae38d80c13b138931a77acabad3d044 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit c1b555f08896802407876248569bcbad6e8b67dd by Qt Cherry-pick Bot (on behalf of Eskil Abrahamsen Blomfeldt) on 30/07/2026 at 09:59.. Reject cyclic wl_subcompositor.get_subsurface requests The specification defines that the compositor must raise a BAD_PARENT protocol error if get_subsurface() is called with a parent which is a descendant of the surface itself (or if it matches the surface itself). Failing to do this could cause an infinite recursion and stack overflow later. Pick-to: 6.11 6.8 Task-number: QTBUG-148611 Change-Id: I6cac060501ea274110e09bec3155f616e6256dc5 Reviewed-by: Paul Olav Tvete <[email protected]> (cherry picked from commit 5f6557dc157d176d1f8835f595583fbdfd6e1c14) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/c1b555f08896802407876248569bcbad6e8b67dd Git commit 971febaf36415f6df5e191243151d2d5064ae299 by Qt Cherry-pick Bot (on behalf of Eskil Abrahamsen Blomfeldt) on 30/07/2026 at 09:59.. Clear dangling drag-focus resource on client disconnect DataDevice::m_dragFocusResource pointed at whichever client's wl_data_device currently held drag focus, with no destroy-tracking. If that client disconnected mid-drag, the pointer was left dangling, and the next pointer motion during the still-active drag would dereference it in setDragFocus(). Add a data_device_destroy_resource() override to clear m_dragFocusResource/m_dragFocus when the resource they point at is actually destroyed. Pick-to: 6.11 6.8 Task-number: QTBUG-148611 Change-Id: Ib6c7136bc8ae3fe56dd9b340fd1d0d26acf0e7bf Reviewed-by: Paul Olav Tvete <[email protected]> (cherry picked from commit 9e27ab8d87c9d07254ae71a265e993f8889a1035) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/971febaf36415f6df5e191243151d2d5064ae299 Git commit 8fb6f84388fca51cb8611e4f41f3416ba41b61d9 by Qt Cherry-pick Bot (on behalf of Eskil Abrahamsen Blomfeldt) on 30/07/2026 at 09:59.. Fix xdg_popup leak xdg_popup_destroy() only logged "Not implemented" instead of calling wl_resource_destroy() like every other role object's destroy handler, and there was no xdg_popup_destroy_resource() override to free the C++ object either. Make xdg_popup_destroy() actually destroy the resource, and add a xdg_popup_destroy_resource() override that deletes the C++ object, matching xdg_toplevel/xdg_surface's existing pattern. Pick-to: 6.11 6.8 Task-number: QTBUG-148611 Change-Id: Ic35aea92e9423d2956af213b1586429efde8eccb Reviewed-by: Paul Olav Tvete <[email protected]> (cherry picked from commit 1e2463945cb7e64a15d00a5f8aa17954e654c8c0) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/8fb6f84388fca51cb8611e4f41f3416ba41b61d9 Git commit 2287492ef892606f393ed0e918ef078d1764ac75 by Qt Cherry-pick Bot (on behalf of Eskil Abrahamsen Blomfeldt) on 30/07/2026 at 09:59.. Bound the input-method acknowledge wait with a timeout QWaylandQtTextInputMethod::sendInputMethodEvent() could wait indefinitely on a client if it never acknowledged. We add a timeout to protect against this case. Task-number: QTBUG-148611 Change-Id: I04fcc27ad413369ca2544cf7e27d7e44a901e983 Reviewed-by: Paul Olav Tvete <[email protected]> (cherry picked from commit f8824c583a4bab1cb334fcb5d57c7e72c5c83ca3) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/2287492ef892606f393ed0e918ef078d1764ac75 Git commit de4632388ae38d80c13b138931a77acabad3d044 by Qt Cherry-pick Bot (on behalf of Eskil Abrahamsen Blomfeldt) on 30/07/2026 at 09:59.. linux-dmabuf: Don't add invalid planes In the buffer_params_v1_add request handler, we would post a protocol error for an invalid plane (e.g. outside the valid range) but then we would add it to the internal map. Since the protocol error will shut down the client, we would never use this index for anything, so it would not cause any problems in practice, but it could easily raise some eyebrows. Especially since the index is used to index a static length array later, so it has to be within the valid range or it could cause an OOB write (but again, it would not happen in this case since the client is disconnected). Task-number: QTBUG-148611 Change-Id: I2833521dee008f9e8bb33aadf031830a327d487c Reviewed-by: Paul Olav Tvete <[email protected]> (cherry picked from commit 9bc4ac3f02a0a964eab4e032d299efcab9a26df4) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/de4632388ae38d80c13b138931a77acabad3d044