D12373: Klipper: Remove first history item on clipboard clear

David Edmundson noreply at phabricator.kde.org
Wed Apr 25 16:16:09 UTC 2018


davidedmundson added a comment.


  Thanks for following this up!
  
  In keepassx you need a second QMimeData
  
    void QClipboard::setMimeData(QMimeData *src, Mode mode = Clipboard)
    Sets the clipboard data to src. Ownership of the data is transferred to the clipboard. 
  
  So the second call you're passing data you don't own. Not sure if that's the cause of your issue. Maybe dump your full code somewhere and I'll take a look?
  
  Interestingly your warning doesn't come from setting the data. That warning is in QXcbClipboard::handleSelectionRequest   i.e getting the current clipboard information back.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D12373

To: hoffmannrobert
Cc: graesslin, broulik, davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180425/6e3aa08d/attachment.html>


More information about the Plasma-devel mailing list