Closed Bug 643191 Opened 13 years ago Closed 13 years ago

Add a "Copy link location" action to the context menu for links

Categories

(Firefox for Android Graveyard :: General, enhancement, P3)

Other
Linux
enhancement

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 8

People

(Reporter: info, Assigned: mbrubeck)

References

Details

(Keywords: mobile, platform-parity, polish, Whiteboard: [inbound])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0b11) Gecko/20110209 Firefox/4.0b11 SeaMonkey/2.1b2
Build Identifier: Mozilla/5.0 (Android; Linux armv7l; rv:2.0b13pre) Gecko/20110318 Firefox/4.0b13pre Fennec/4.0b6pre

On my HTC Evo (model PC36100) running HTC's Android 2.2,

The context menu for a link on a page doesn't have a way to copy its URL.  By comparison, the stock browser's context menu has a "Copy link URL" item, and Firefox desktop has "Copy Link Location"

Reproducible: Always

Steps to Reproduce:
1. Press and hold on a link in Fennec
Actual Results:  
Context menu appears with destination URL and the actions
  Open Link in New Tab
  Save Link
  Share Link


Expected Results:  
Provide a menu item to copy the link's URL.

One workaround is to open the link in new tab, tap location field to reveal the URL, press and hold location field, choose Copy from its context menu.

Also regarding the context menu for links, I filed bug 643186 that its first item should be Open.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Also"  <Fennec is missing the long-press actions "Copy Image URL", and "View Image" as present in other desktop and mobile browsers>

from bug 664798
Attached patch patchSplinter Review
I really missed this while using Fennec to write comments on blogs/forums/bugzilla/etc.  The best workaround in Fennec is to open each link in a new tab, wait for each one to load, then copy it from the awesomescreen.  This is very time-consuming; sometimes it was faster to open the link in another screen instead.

With "Copy Link" in the context menu, use cases like these are much easier and quicker.  This also makes us more consistent with desktop Firefox and with other browsers (mobile and desktop).
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
Attachment #546557 - Flags: review?(mark.finkle)
Keywords: mobile, polish, pp
Whiteboard: [has patch]
Comment on attachment 546557 [details] [diff] [review]
patch

Yeah, I miss this too.
Attachment #546557 - Flags: review?(mark.finkle) → review+
Can the patch be expanded to add a "Copy Image URL" menu option? There is currently no means to do this other than opening the page in another browser.
"View Image" and "Copy Email Address" options would be nice as well, which should bring Firefox Mobile in line with most other desktop and mobile browsers.
Madhava also approved this change.

http://hg.mozilla.org/integration/mozilla-inbound/rev/28935aa0b26a

(In reply to comment #6)
> Can the patch be expanded to add a "Copy Image URL" menu option? There is
> currently no means to do this other than opening the page in another browser.
> "View Image" and "Copy Email Address" options would be nice as well, which
> should bring Firefox Mobile in line with most other desktop and mobile
> browsers.

I agree that at least some of these should be added, but let's file followup bug(s) for them.  We are trying to provide important features but also not let the menus get too long or cluttered, so I think the UX team should discuss whether and how to include these.
Whiteboard: [has patch] → [inbound]
Bug 664798 should be un-duped from this one if it is necessary to have separate bugs.
http://hg.mozilla.org/mozilla-central/rev/28935aa0b26a
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 8
Verified fixed on:
Mozilla/5.0 (Android;Linux armv7l;rv:8.0a1)Gecko/20110905
Firefox/8.0a1 Fennec/8.0a1
Device: Samsung Galaxy S
OS: Android 2.2
Status: RESOLVED → VERIFIED
Flags: in-litmus?(nicolae.cristian)
this is not fixed. it's missing in Firefox, Firefox beta and nightly
Blocks: 769886
(In reply to donrhummy from comment #11)
> this is not fixed. it's missing in Firefox, Firefox beta and nightly

This wasn't included in the new Android UI rewrite.  I filed bug 769886 to re-add it.
TC added in MozTrap: https://moztrap.mozilla.org/manage/cases/?filter-id=1335#caseversion-id-6412
Flags: in-litmus?(nicolae.cristian) → in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: