Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.1, 5.13.0 Alpha 1
-
None
-
-
eb66211ea9b58537a21630893229c7d3c86a10b3 (qt/qtwayland/dev)
Description
According to the protocol, we should destroy it when losing keyboard focus.
Currently, if a wl_surface is destroyed (which happens when a QWindow is deleted, hidden, or changes type etc.), we do not destroy the offer until we get a new selection.
This means that we might think we still have a valid selection the next time we get keyboard focus, and we're preventing compositor resources from being freed in the meantime.
Attachments
For Gerrit Dashboard: QTBUG-73825 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253360,3 | Client: Don't leak wl_data_offers | 5.13 | qt/qtwayland | Status: MERGED | +2 | 0 |
253361,6 | Client: Add test for wl_data_offer leaks | 5.13 | qt/qtwayland | Status: MERGED | +2 | 0 |
255906,1 | Client: Don't leak wl_data_offers | dev | qt/qtwayland | Status: ABANDONED | 0 | 0 |
255907,1 | Client: Add test for wl_data_offer leaks | dev | qt/qtwayland | Status: ABANDONED | 0 | 0 |