client icon indicating copy to clipboard operation
client copied to clipboard

Feature request: easy way to copy links in chat

Open marmarek opened this issue 7 years ago • 4 comments

Currently (keybase 1.7.9 on Linux) to copy a link from chat, one need to select it all and Ctrl+C. This is especially hard in case of long links (multi-line), as the whole message easily get selected.

Proposed solution - right click menu on a link with "Copy URL" action. Similar to many other applications (browsers, gnome-terminal, libreoffice, ...).

marmarek avatar Feb 15 '18 00:02 marmarek

+1. Sometimes you want to copy the link and open it in a different browser / session than the default.

tomerweller avatar Feb 16 '19 00:02 tomerweller

HUGE +1 here. Selecting links, highlighting subsections, etc is very difficult in the Linux GUI.

Would very much appreciate the right click and "Copy URL" option

traetox avatar May 06 '20 19:05 traetox

The responsible code seems to be onContextMenu: this.props.toggleShowingMenu, where toggleShowingMenu appears to ignore the actual event target. I think fixing this would require a tweak at one or both of those locations, probably also adding a "Copy URL" menu item and corresponding property at shared/chat/conversation/messages/message-popup/text/index.tsx .

gibson042 avatar Jan 18 '22 21:01 gibson042

Fwiw, the macOS client has apparently had a Copy URL context menu command for quite some time.

socketbox avatar Dec 20 '23 19:12 socketbox