Bug 439951

Summary: "send clipboard" quick settings button
Product: [Applications] kdeconnect Reporter: rolodophone
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: minor CC: getzze, rolodophone
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 10.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rolodophone 2021-07-16 17:54:20 UTC
While the "send clipboard" button in the persistent notification is good, I think it would be better to have a "send clipboard" quick settings tile, as then I could disable the persistent notification to stop it taking up room in my notifications. Of course, having it in both the notification and also a quick settings tile is also fine.
Comment 1 getzze 2021-07-30 13:39:00 UTC
I agree! I have disabled the notifications on Android 11 and I have no way to send the content of the clipboard. Actually, it would be really nice to have an option in the app also, in the device page: "Send text/clipboard". To use to send the clipboard or any text to the device.
Comment 2 Bug Janitor Service 2021-08-22 15:02:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-android/-/merge_requests/263
Comment 3 Albert Vaca Cintora 2022-01-10 19:25:44 UTC
Git commit 492555ab9b0efc75178a24b094f55b617d960892 by Albert Vaca Cintora, on behalf of Maxim Leshchenko.
Committed on 10/01/2022 at 19:25.
Pushed by albertvaka into branch 'master'.

Add more ways to send clipboard

Add the ability to send the clipboard to the device via the quick settings tile and via the menu on the device page

M  +10   -0    AndroidManifest.xml
A  +10   -0    res/drawable/ic_baseline_content_paste_24.xml
M  +2    -0    res/values/strings.xml
M  +1    -1    src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardFloatingActivity.java
M  +36   -0    src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java
A  +28   -0    src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardTileService.kt

https://invent.kde.org/network/kdeconnect-android/commit/492555ab9b0efc75178a24b094f55b617d960892