[#102] Add "Copy link" to a menu

It would be very useful to add a "Copy Link" menu item to a menu, especially on mobile platforms, as it would be easier for people with less dexterous fingers.

/u/TKurtBond/image/432.png

#feature

🐞 Issue #102 in s/Lagrange-Issues

👽 TKurtBond

Feb 03 · 5 months ago

5 Comments ↓

🏕️ skyjake [mod...] · Feb 03 at 12:05:

Not sure I fully understand the request. There is already a "Copy Link" action in link context menus. On mobile, you need to long-press a link to get to the menu.

👽 TKurtBond [OP] · Feb 10 at 13:53:

It would be helpful to have Copy Link on the main menu, to copy the URL of the current tab.

👽 TKurtBond [OP] · Mar 07 at 20:36:

When I click in the URL in Lagrange on iPhone part of the URL is selected and part is not and the ball with the line that usually shows where the selection ends on one end is in the middle of the selected text. I've added an image that shows the issue.

Perhaps this is a issue of the URL bar rendering improperly?

👽 TKurtBond [OP] · Mar 07 at 20:51:

And I see if I double click (what is this actually called on a mobile device?) instead of single click the whole text gets selected and the editing menu comes up and lets me copy the whole text.

Commit 8142d666 · Mobile: Added "Copy Page URL" menu item

Mar 09 · 4 months ago

🏕️ skyjake [mod...] · Apr 02 at 04:52:

When I click in the URL in Lagrange on iPhone part of the URL is selected and part is not and the ball with the line that usually shows where the selection ends on one end is in the middle of the selected text. I've added an image that shows the issue.

This is something seemingly caused by the switchover between Lagrange's own custom text field and the native iOS one. It happens to me pretty often as well, but I haven't gotten around to figuring a workaround. One possibility is keeping the native text field around all the time, hiding it when it's not active.


Source