Closed Bug 775766 Opened 13 years ago Closed 13 years ago

Add "Copy Email Address" to long press context menu

Categories

(Firefox for Android Graveyard :: General, enhancement)

ARM
Android
enhancement
Not set
normal

Tracking

(firefox14 wontfix, firefox15 wontfix, firefox16 wontfix)

VERIFIED FIXED
Firefox 17
Tracking Status
firefox14 --- wontfix
firefox15 --- wontfix
firefox16 --- wontfix

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

Attachments

(2 files, 2 obsolete files)

A long press on a "mailto:" link should open the context menu with a "Copy Email Address" option. This is similar to bug 744662, where you may share email addresses (but it keeps the "mailto:" in the link).
Severity: normal → enhancement
See Also: → 744662
Attached patch Patch (obsolete) — Splinter Review
As per the TODO on line 1107 (https://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#1107), it might be better to begin moving the context menu items to individual classes, rather than the current mass copy/paste block. I think it would be best to file a followup bug and do it at least after the remaining long press options are implemented ("Copy phone number" and "Copy image location", as per bug 718437). Do you agree? Also note that this patch builds on the patch in bug 769886 ("Copy link") which may not be on mozilla-central yet.
Attachment #644108 - Flags: review?(mark.finkle)
Attached patch Patch v2 (obsolete) — Splinter Review
Updated single quotes to double quotes for consistency.
Attachment #644108 - Attachment is obsolete: true
Attachment #644108 - Flags: review?(mark.finkle)
Attachment #644113 - Flags: review?(mark.finkle)
Comment on attachment 644113 [details] [diff] [review] Patch v2 This looks fine, but Wes is re-organizing the place where context menu actions are initialized. You'll need to rebase for that.
Attachment #644113 - Flags: review?(mark.finkle) → review+
Attached patch Patch v3Splinter Review
Rebase to inbound (including wesj's patch). Moved r+.
Attachment #644113 - Attachment is obsolete: true
Attachment #644526 - Flags: review+
To checker-in: Apply bug 769886 before applying this patch.
Depends on: 769886
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Aurora/Beta nom?
(In reply to Aaron Train [:aaronmt] from comment #8) > Aurora/Beta nom? While this bug is a simple change, it relies on several code changes which may not be as simple or low risk. As this is not an essential fix, I think it would be safer to leave it on central.
Build ID: 17.0a2 (2012-10-08)Aurora Channel 18.0 (2012-10-08) Nightly Channel 19.0 (2012-10-09) Nightly Channel Device: Samsung Galaxy Nexus OS: Android 4.1 Marking bug as Verify Fixed.
Attached image Screenshot
Screen with the option and the menu for e-mails.
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: