Bug 458487 - Share Plugin: URLs with titles should be shared as plain URLs
Summary: Share Plugin: URLs with titles should be shared as plain URLs
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2022-08-29 20:53 UTC by Simon Redman
Modified: 2023-04-07 20:43 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 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