Steps to reproduce.
1. Start a GNOME on Wayland session
2. Pair an Android device with KDE Connect
3. Select some text on your PC and copy it
4. Try pasting it on Android
5. Select some other text on Android
6. Try pasting it on your PC
Clipboard sharing between KDE Connect clients.
No clipboard sharing under Wayland.
Run in X instead of Wayland.
I’m aware that the clipboard is better protected in Wayland than it was in X by design, but this feature must either be disabled in the plugin list when running under Wayland or preferably fixed properly.
kde-connect version 0.9 (this version wasn’t an available option in the bug reporting wizard).
*** Bug 390933 has been marked as a duplicate of this bug. ***
Not only GNOME, it doesn't work even in KDE
*** Bug 410063 has been marked as a duplicate of this bug. ***
*** Bug 410162 has been marked as a duplicate of this bug. ***
Any thoughts we can do with it on Wayland?
There is a branch started davidedmundson/data_control
I need to finish it. The big blocker here is whilst the protocol itself is super easy, handling the case of copying data_control clipboards and regular clipboards into each other in Seat, without introducing an abstract superclass is really difficult, at least not without writing unique code for all possible combos of data control -> clipboard data_control _> data_control and so on.
And we can't introduce an abstract superclass because of stupid ABI.
(meeting about that soon...)
We now support data control.
Please copy+paste plasma-workspace/klipper/systemclipboard for an implementation.
or we can see about moving that to frameworks if we find there are many more users.
hi guys , any track on final implementation ?
Git commit 389a47b0880d2c320ecae8adaab4fd0d361b7e6a by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 07/04/2021 at 00:43.
Pushed by apol into branch 'master'.
Add support for clipboard integration
Copies over David's implementation in Klipper and integrates it in the
plugin. To do so it splits the ClipboardListener class into 2
subclasses: one that uses QClipboard and the other that uses the
M +15 -2 plugins/clipboard/CMakeLists.txt
M +71 -15 plugins/clipboard/clipboardlistener.cpp
M +37 -17 plugins/clipboard/clipboardlistener.h
A +351 -0 plugins/clipboard/datacontrol.cpp [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A +35 -0 plugins/clipboard/datacontrol.h [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A +278 -0 plugins/clipboard/wlr-data-control-unstable-v1.xml
Is there a chance this feature will make it into 21.04?
(In reply to Rob Sanders from comment #11)
> Is there a chance this feature will make it into 21.04?
No, it's too late for that
*** Bug 438598 has been marked as a duplicate of this bug. ***
*** Bug 441046 has been marked as a duplicate of this bug. ***
*** Bug 429173 has been marked as a duplicate of this bug. ***