1. 10 Apr, 2020 1 commit
    • Kai Uwe Broulik's avatar
      [Purpose Plugin] Detect cancelling the prompt more reliably · 5a5369a0
      Kai Uwe Broulik authored
      aboutToHide is emitted before an action is triggered and activeAction() is the action currently hovered.
      This means we can't properly tell that the prompt got canceled, when hovering an action and then hitting
      Escape to close the menu.
      This patch sets a property in response to triggered and then does a delayed check for that in aboutToHide.
      
      See also QTBUG-56761
      
      Differential Revision: https://phabricator.kde.org/D28719
      5a5369a0
  2. 09 Dec, 2019 1 commit
    • Kai Uwe Broulik's avatar
      [Purpose Plugin] Reset pending reply serial when aborting · 36460395
      Kai Uwe Broulik authored
      When the QMenu is closed or the Purpose job finishes, we make sure to send a reply out and reset the pending reply serial.
      However, when we determined on the host side that we cannot share the contents,
      we send a reply but don't reset the pending reply serial, having every subsequent purpose request
      fail until reloading the extension or restarting the browser.
      
      Differential Revision: https://phabricator.kde.org/D25803
      36460395
  3. 18 Sep, 2019 1 commit