Open Bug 1805073 Opened 3 years ago Updated 1 year ago

Cannot copy links or save images with native context menus

Categories

(Core :: Widget: Gtk, defect, P5)

Firefox 109
Desktop
Linux
defect

Tracking

()

Tracking Status
firefox-esr102 --- disabled
firefox-esr115 --- disabled
firefox115 --- disabled
firefox116 --- disabled
firefox117 --- disabled
firefox118 --- disabled

People

(Reporter: jm098mail, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

  1. Go into "about:config"
  2. Find: "widget.gtk.native-context-menus". Set it to "True".
  3. Restart Your Browser
  4. Find a hyperlink, such as a Tweet posting a news article.
  5. Right Click > "Copy Link"
  6. Try to paste that link somewhere.
  7. Observe.

Actual results:

The hyperlink that I copied via Right Click > "Copy Link" does not get copied. However, regular text across websites does.

Expected results:

I should have been able to copy the hyperlink from a website and paste it elsewhere.

Issue for native context menu support on GTK: bug 1757402

Blocks: 1757402
OS: Unspecified → Linux
Hardware: Unspecified → Desktop

Also as a note. Right Clicking hyperlinks, such as the ones I commented above then going to > "Open in New Window" does not open the browser in a new window. Similar if you go to "New Tab" when able to.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Cocoa
Product: Firefox → Core
Component: Widget: Cocoa → Widget: Gtk

Console error:

Uncaught TypeError: can't access property "copyLink", gContextMenu is null
oncommand chrome://browser/content/browser.xhtml:1

"Save Image As" also fails to show the file picker with a similar error but with the "saveMedia" property.

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b38ec693c7137e172a11ad21d0fdd12eb3f9bd75&tochange=571fba417e226cd82d1deed500a2eedbdc8e06fc

Possibly regressed by Bug 1758424.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Regressed by: 1758424
Summary: widget.gtk.native-context-menus set to "True" Cannot Copy Hyper Links → Cannot copy links or save images with native context menus

:emilio, since you are the author of the regressor, bug 1758424, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Priority: -- → P3
Priority: P3 → P5

Set release status flags based on info from the regressing bug 1758424

You need to log in before you can comment on or make changes to this bug.