Page MenuHomePhabricator

Android app has no long-click menu on links: no way to copy-paste links
Closed, DeclinedPublic

Description

Browsers will generally have a long-click context menu on links, which lets you do things like copy the URL to the clipboard or open the link in a new window or external browser.

This is often important for looking info up and then pasting it somewhere.

There doesn't appear to be any long-click menu; holding on a link does nothing.

Nexus 1, Android 2.3.6


Version: 1.0.0 (Android)
Severity: enhancement

Details

Reference
bz31485

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:54 PM
bzimport set Reference to bz31485.

Hooking into links' touch events inside the iframe should make it possible to catch a long click.

http://osdir.com/ml/phonegap/2011-06/msg00525.html
^ this message suggests starting a timeout on a touch-start event and canceling it on touch-end, ought to be reasonable.

Ideally should open a native-style popup menu with 'open', 'open in browser', 'copy link' items or such.

philinje wrote:

Would be nice on any text, no?

We won't bother fixing this in the Android PhoneGap-based app. Similar functionality should go into the native one in future though.