Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P Plasma Workspace
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 111
    • Merge requests 111
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • Plasma Workspace
  • Merge requests
  • !1

Port klipper to use wayland clipboard

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Edmundson requested to merge work/davidedmundson/wayland_klipper into master May 18, 2020
  • Overview 18
  • Commits 3
  • Changes 14

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.

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.

The current code blocks when mimeData is fetched. This is in-line with the current XCB integration. I would like to move away, but I think the safest roll out would be to merge as-is get some testers and then iterate.

Test Plan: Copying and pasting all over the place

Edited Jul 23, 2020 by David Edmundson
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/davidedmundson/wayland_klipper