question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove copy/paste items from contextmenu on desktop

See original GitHub issue

We should remove contextmenu copy & paste actions for non-mobile screen sizes because it’s currently impossible to determine in cross-browser fashion whether a paste action will result in anything. As such, we should remove copy as well.

The reasoning is, that those actions’ keyboard shortcuts are well-known enough to be ok. See discussion below.

OLD ↓

Specifically, we should maybe disable it only for browsers that don’t support clipboard.readText(), and whose in-app clipboard is empty.

image image

Just a thought. It may not be a good idea, because cmd-v could still result in a successful paste, and this may dissuade users from trying. At the same time, clicking on paste when it’s not doing anything is a bad UX as well.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dwellecommented, Jan 28, 2021

Go ahead. Check the updated description for more info.

1reaction
dwellecommented, Jan 28, 2021

Another thought: remove copy/paste contextmenu items (at least on Desktop) altogether. This will fix the conundrum. Figma doesn’t list them either, and they’re pretty well-known keyboard shortcuts.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to hide itens like Copy, Rename,... from Context Menu?
Is it possible to hide/disable (or even eliminate) such items like Cut, Copy, Paste, CreateShortcut, Rename and Delete from the Context Menu ......
Read more >
Remove cut/copy/paste from context menu in Win10
All time I need to go throught "cut/copy/paste/customize folder/group by/order by" etc. I don't need this options in context menu. How can I ......
Read more >
I want to delete "delete" from context menus.
Is there a way to remove the delete button from the menu or maybe move it to the bottom of the menu? I...
Read more >
Clean and Customize Windows 10 Context Menu - Technastic
Removing Context Menu Items via Registry Editor ... navigate to the keys mentioned below or just copy and paste them in the address...
Read more >
Add or Remove "Copy To folder" and "Move To folder" Context ...
This tutorial will show you how to add or remove Copy To folder and Move to folder to the context menu for all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found