Browser does not allow copying of an image link

REPRODUCIBILITY: always
OS VERSION: 4.5.0.21
HARDWARE: Xperia 10ii
UI LANGUAGE: English
REGRESSION: not sure

DESCRIPTION:

In the browser long pressing a link allows you top copy said link, if the link is an image however the only option given is to save the image and copying the link location is impossible.

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Open a page that has an image link, for instance SFOS forums
  2. Long click the SFOS Forums image which is also a link back home
  3. Only options given are image related (store/share image, open image in new tab)

EXPECTED RESULT:

Copy link location should also be an option in the menu, maybe also open link in new tab.

ACTUAL RESULT:

Only image related options are given.

3 Likes

Workaround: Select “open in new tab”, and copy the URL from there by long-pressing on the toolbar.

It’s open image in new tab, not open link in new tab so if an RSS feed link is “hidden” under a RSS logo there is no way to get it.

Ah I misunderstood the problem, I thought you wanted to get the link to the image. Makes sense, yes.

So the problematic construct is

<a href="foo"><img src="bar"></a>

where you want “foo” but only get “bar”.

2 Likes

Would be nice if copying the image url would be easier as well…

1 Like

Thanks for reporting this, just wondering if this is more like a feature request, so this could be added to New feature requests ?

If this wasn’t a basic feature of every browser since the early days of browsing I would agree with you that this is a feature request, but since this is a basic browser feature it’s non-existence is a bug.

Is it happening? Allow link ContextMenu options for image links. Add support for copying image URL in ContextMenu. by mlehtima · Pull Request #165 · sailfishos/sailfish-components-webview · GitHub

Getting there I’d say.

Valid point, internal bug report created.

1 Like