Ctrl-C when nothing selected clears clipboard

#1

Is there a setting that disables the effect that Ctrl-C when nothing is selected clears the clipboard contents? I have about a 75% success rate hitting Ctrl-V when I intend to paste and in those 25% of error cases, I often hit Ctrl-C and lose the content I was trying to paste. I would prefer that if nothing is selected, Ctrl-C doesn’t do anything. Thanks,

Matt

#2

In which application is this? Jupyter Lab or Jupyter notebook?

#3

This is in Jupyter Lab.

Matt

#4

Maybe @saulshanabrook or @jasongrout have an idea

#5

A small item of color. I thought this might be a Chrome or even an OS issue so I tried Ctrl-C on a couple non-Jupyter Lab web pages (including traditional Jupyter Notebook) and Ctrl-C when nothing is selected did not clear the clipboard. I also tried in a handful of desktop apps and these also did not clear the clipboard. My conclusion is that there is a setting specific to Jupyter Lab causing this.

Matt

#6

Can you open an issue in JupyterLab at https://github.com/jupyterlab/jupyterlab/issues/new/choose ? It sounds like we need to do something more to treat this use case.

#7

Done: https://github.com/jupyterlab/jupyterlab/issues/6281