Bug 458487

Summary: Share Plugin: URLs with titles should be shared as plain URLs
Product: [Applications] kdeconnect Reporter: Simon Redman <simon>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: wishlist Keywords: junior-jobs
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Simon Redman 2022-08-29 20:53:52 UTC
SUMMARY
Some apps (Google News, some RSS readers, probably others), when you share a link from them, send it in the form of "title \n url".

KDE Connect should share just the URL (perhaps under a toggle switch, in case users like the "pretty" url)

STEPS TO REPRODUCE
1. Share URL from certain applications using KDE Connect

OBSERVED RESULT
URL is opened in a text editor window with "title \n url"

EXPECTED RESULT
URL is opened in the default handler for the URL type.

ADDITIONAL INFORMATION
This ought to be caught and handled on the sending (Android) side, not on the receiving side.
Comment 1 Simon Redman 2022-08-29 20:55:16 UTC
Tagging as junior job since this should hopefully be fairly simple. See https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/484 where it was proposed to do this on the receiving side, and translate the behavior to the sending side.
Comment 2 Bug Janitor Service 2023-04-05 19:06:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-android/-/merge_requests/339
Comment 3 Albert Vaca Cintora 2023-04-07 20:43:25 UTC
In the end we decided to still share the URL with the text and then on the desktop side offer the option to open the link or copy the text up to the user. This was implemented in: https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/530