Code-server: [Chrome] Selection is resulting in copy/clipboard.

Created on 19 Mar 2019  路  4Comments  路  Source: cdr/code-server

  • code-server version: 1.30 to 1.32.0-282
  • OS Version: Ubuntu/Windows => Chrome

Description

In Chrome: Selecting anything in the editor will copy the text to clipboard.
In Firefox: Selecting anything in the editor will not copy the text to clipboard. (like expected)

Tested on Ubuntu 18.04 with chromium-browser and also tunneled to Windows with Chrome.

Steps to Reproduce

  1. Select some text in the editor.
  2. The selected word will be in your clipboard (Ctrl+V).
    Expected (in default): your clipboard should not be overwritten by selection.

I'm not sure if it is a bug in the actual meaning or even in the code-server.
However, it is annoying and maybe someone knows a solution.
Thanks!

#

I would like give thanks for the development of code-server. I'm looking quite some time for a solution like that. And finally there is one that is actual usable! :)

bug

Most helpful comment

Adding the following to my settings.json fixed for me:

    "editor.emptySelectionClipboard": false,
    "editor.selectionClipboard": false

All 4 comments

Will fix. Thanks for the report!

Adding the following to my settings.json fixed for me:

    "editor.emptySelectionClipboard": false,
    "editor.selectionClipboard": false

Have the same issue, adding the lines above doesn't help in my case.

Fixed with the latest release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oonqt picture oonqt  路  3Comments

pchecinski picture pchecinski  路  3Comments

avelino picture avelino  路  3Comments

grant picture grant  路  3Comments

balazssoltesz picture balazssoltesz  路  3Comments