Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73825

wl_data_offer selection is not destroyed when a window is destroyed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.13.0 Beta2
    • 5.12.1, 5.13.0 Alpha 1
    • QPA: Wayland
    • None
    • Linux/Wayland
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johanhelsing Johan Helsing
            johanhelsing Johan Helsing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes