Bug 175977 - [GTK] Inspector's "Copy Link Address" option from context menu doesn't work for an element's attribute
Summary: [GTK] Inspector's "Copy Link Address" option from context menu doesn't work f...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-25 01:55 PDT by Andres Gomez Garcia
Modified: 2017-10-03 05:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gomez Garcia 2017-08-25 01:55:34 PDT
I'm using WebKitGtk+ with my own JHBuild setting:
https://github.com/tanty/jhbuild-epiphany/tree/master

WebKit 2.17.91.

The compilation was done with CMake args:

'-DDEBUG_FISSION=OFF -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DENABLE_MINIBROWSER=ON -DCMAKE_C_FLAGS_RELEASE="-O0 -g -DNDEBUG -DG_DISABLE_CAST_CHECKS" -DCMAKE_CXX_FLAGS_RELEASE="-O0 -g -DNDEBUG -DG_DISABLE_CAST_CHECKS"'

1. Visit: https://www.instagram.com/floretflower/
2. Click on one of the images
3. Select from the context menu on top of the image: "Inspect Element".
4. Expand the "div" above the selected HTML div tag.
5. Use the context menu to try to "Copy Link Address" on the link in the "src" attribute.

EXPECTED:

The link gets copied to the clipboard.

ACTUAL OUTCOME:

The link DOESN'T get copied to the clipboard.

---

This bug is not reproducible with WebKit 2.17.5.

Confirmed with MiniBrowser and Epiphany.

Most probably, it also happens with other of the "Copy ..." options of the context menu.
Comment 1 Andres Gomez Garcia 2017-08-25 01:57:15 PDT
(In reply to Andres Gomez Garcia from comment #0)
> This bug is not reproducible with WebKit 2.17.5.

I meant WebKit 2.17.4.
Comment 2 Andres Gomez Garcia 2017-10-03 05:23:28 PDT
This seems to be working again in WebKitGTK+ 2.18.0.