Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: “Share HN Link” copies title instead of URL #243

Closed
leoplusx opened this issue Nov 25, 2021 · 14 comments
Closed

Bug: “Share HN Link” copies title instead of URL #243

leoplusx opened this issue Nov 25, 2021 · 14 comments

Comments

@leoplusx
Copy link

I just wanted to use the “Share HN link“ to copy the URL to the story I was reading to the clipboard. What was copied to the clipboard instead was the title of the story. This seems to be a bug.

@dangwu
Copy link
Owner

dangwu commented Nov 25, 2021 via email

@leoplusx
Copy link
Author

leoplusx commented Dec 5, 2021

Any story, really.

I tap the share symbol. I tap “Share HN Link”. I tap “Copy”. And then my clipboard looks like this:

“Apple Broke Up with Me”

(I just took the top front page story now for demonstration.)

The same happens when I, in the share menu, select another app as the target.

I would’ve recorded a screencast, but I can’t seem to upload video here.

@dangwu
Copy link
Owner

dangwu commented Dec 5, 2021 via email

@dhruhin
Copy link

dhruhin commented Jan 17, 2022

When copying it to some other apps (Notion for me), it only copies the story Title when I hit Share (share sheet opens) and Copy.

@6e622dafdae9
Copy link

6e622dafdae9 commented Apr 8, 2022

This also happens in Signal messenger. Steps to repro:

  1. Go to any story.
  2. Click share for the main story, or any comment. Tap "Share HN link"
  3. In the share sheet, tap "copy" (Note: do not share to any app directly here).
  4. Go to Signal messenger.
  5. Double tap the text entry field, and select "Paste"
    The title of the story shows up, not the URL.

Strangely enough, if I go to the iOS Notes app and repeat step 5, the title and URL are both pasted. Which character is used for the line break between the title and URL? Is something funny happening there?

@provNickGoeben
Copy link

provNickGoeben commented Nov 28, 2022

It doesn't matter what app you copy into, the clipboard content is simply incorrect.

I was using the app as a guest, but even after creating an account it still fails.

Choosing other options from the share menu does work.

Running an iPhone 13 Pro with all updates

@bfelbo
Copy link

bfelbo commented Jan 8, 2023

This also happens when trying to share links to comments.

@timpulver
Copy link

timpulver commented Sep 29, 2023

Any news on this? This happens with all links. I always need to open the HN page in Safari and copy it from there as a workaround.

Example:

  • Navigate to any HN article (not Share HN or similar)
  • Click on Share -> Share HN Link
  • Paste in any editor. I paste it here:

Bandcamp has been sold to Songtradr. What does this mean for the musicians?

What I would expect instead:
https://news.ycombinator.com/item?id=37695035

The above contains the title, but not the URL. I wish it would copy the URL, and just the URL (no title).

@dangwu
Copy link
Owner

dangwu commented Sep 29, 2023 via email

@dangwu
Copy link
Owner

dangwu commented Sep 29, 2023 via email

@dangwu
Copy link
Owner

dangwu commented Sep 29, 2023

trim.015D8F7B-601D-48C3-B994-01FC3C6BFC49.MOV

@dangwu
Copy link
Owner

dangwu commented Sep 29, 2023 via email

@timpulver
Copy link

Here is a video of the issue:

79cdf29d-f43c-4bce-95c6-2e24947fbc14.mp4

@dangwu
Copy link
Owner

dangwu commented Oct 15, 2023

Fixed in 4.15.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants