Bug 507107 - Clicking copy text in SMS text notification doesn't copy the text.
Summary: Clicking copy text in SMS text notification doesn't copy the text.
Status: RESOLVED NOT A BUG
Alias: None
Product: kdeconnect
Classification: Applications
Component: messaging-application (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Redman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-16 09:59 UTC by Derek
Modified: 2025-07-22 20:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek 2025-07-16 09:59:53 UTC
When I receive a text message on my phone, a notification appears on my desktop through KDE Connect. The pop-up includes a “Copy text” option, but clicking it does not copy anything to the clipboard. This is especially frustrating with one-time passwords (OTPs) or 6-digit verification codes. I can see the code in the notification, but the "Copy" button does nothing.

System Information:

OS: Arch Linux
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
KDE Connect Version: 25.04.3-1

Additional Notes:
The issue happens consistently and affects both regular SMS messages and verification codes. Clipboard syncing is enabled in KDE Connect. Any suggestions for a fix would be appreciated.
Comment 1 Simon Redman 2025-07-22 20:41:43 UTC
The copy button on the SMS notification does whatever the phone/app decides to do with it. I normally see this does copy to the clipboard. However, since it is a notification coming from Android, the action is taken on Android and it is copied to the phone's clipboard. If you are able to configure clipboard autosync (https://userbase.kde.org/KDEConnect#Auto-sync_on_Android_10+) it should be transparent. 

The 25.08 release will also have a "fix" that explicitly handles actions which say Copy on the desktop: https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/633