D29476: WIP: Port klipper to use wayland clipboard

David Edmundson noreply at phabricator.kde.org
Wed May 6 11:26:58 BST 2020


davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  Wayland has an entire new protocol for getting and setting clipboard
  when we don't have focus. Unfortunately this means reinventing
  QClipboard from the QPA.
  
  Not mergable as-is, especially the hardcoded line in CMakeLists but
  uploaded to show direction.
  
  It uses the newly agreed approach of using QtWayland generated classes
  in clients directly rather than writing full pimpl API-fixed wrappers first, 
  as ultimately that didn't really help do anything.
  
  Code is written so that it can be moved to KWindowSystem if needed by
  KDEConnect or others.

TEST PLAN
  Copying and pasting all over the place

REPOSITORY
  R120 Plasma Workspace

BRANCH
  davidedmundson/clipboard2

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

AFFECTED FILES
  klipper/CMakeLists.txt
  klipper/klipper.cpp
  klipper/klipper.h
  klipper/systemclipboard.cpp
  klipper/systemclipboard.h
  klipper/tests/CMakeLists.txt
  klipper/tests/paste.cpp

To: davidedmundson, #kwin
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200506/3642813c/attachment-0001.html>


More information about the Plasma-devel mailing list