[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 'dev'. Changed from a69142788bfdf13ba76df8f8c2b324dcad0d9fc9 to 9bc4ac3f02a0a964eab4e032d299efcab9a26df4 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 5f6557dc157d176d1f8835f595583fbdfd6e1c14 by Eskil Abrahamsen Blomfeldt on 30/07/2026 at 09:34.. 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.8 6.11 6.12 Task-number: QTBUG-148611 Change-Id: I6cac060501ea274110e09bec3155f616e6256dc5 Reviewed-by: Paul Olav Tvete <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/5f6557dc157d176d1f8835f595583fbdfd6e1c14 Git commit 9e27ab8d87c9d07254ae71a265e993f8889a1035 by Eskil Abrahamsen Blomfeldt on 30/07/2026 at 09:34.. 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.8 6.11 6.12 Task-number: QTBUG-148611 Change-Id: Ib6c7136bc8ae3fe56dd9b340fd1d0d26acf0e7bf Reviewed-by: Paul Olav Tvete <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/9e27ab8d87c9d07254ae71a265e993f8889a1035 Git commit 1e2463945cb7e64a15d00a5f8aa17954e654c8c0 by Eskil Abrahamsen Blomfeldt on 30/07/2026 at 09:34.. 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.8 6.11 6.12 Task-number: QTBUG-148611 Change-Id: Ic35aea92e9423d2956af213b1586429efde8eccb Reviewed-by: Paul Olav Tvete <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/1e2463945cb7e64a15d00a5f8aa17954e654c8c0 Git commit f8824c583a4bab1cb334fcb5d57c7e72c5c83ca3 by Eskil Abrahamsen Blomfeldt on 30/07/2026 at 09:35.. 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. Pick-to: 6.12 Task-number: QTBUG-148611 Change-Id: I04fcc27ad413369ca2544cf7e27d7e44a901e983 Reviewed-by: Paul Olav Tvete <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/f8824c583a4bab1cb334fcb5d57c7e72c5c83ca3 Git commit 9bc4ac3f02a0a964eab4e032d299efcab9a26df4 by Eskil Abrahamsen Blomfeldt on 30/07/2026 at 09:35.. 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). Pick-to: 6.12 Task-number: QTBUG-148611 Change-Id: I2833521dee008f9e8bb33aadf031830a327d487c Reviewed-by: Paul Olav Tvete <[email protected]> https://invent.kde.org/qt/qt/qtwayland/-/commit/9bc4ac3f02a0a964eab4e032d299efcab9a26df4