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.