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

wl_data_offer selection is not destroyed when a window is destroyed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.1, 5.13.0 Alpha 1
    • Fix Version/s: 5.13.0 Beta2
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Platform/s:
      Linux/Wayland
    • Commits:
      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

            Assignee:
            johanhelsing Johan Helsing
            Reporter:
            johanhelsing Johan Helsing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes