-
Notifications
You must be signed in to change notification settings - Fork 28.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste via terminal.integrated.rightClickCopyPaste doesn't work anymore in the integrated terminal #28516
Comments
Certainly related to the massive changes with selection that just landed #9958, will look into it soon. |
Did you have a selection in the terminal beforehand? If so this is by design, at least at the time of implementation. One of the perks of this new selection implementation is that the selection doesn't disappear whenever the terminal loses focus, so the right click you may be expecting to paste may be doing a copy using the existing selection? |
No, I didn't have a selection in the terminal.
Le 12 juin 2017 20:54, "Daniel Imms" <notifications@github.com> a écrit :
… Did you have a selection in the terminal beforehand? If so this is by
design, at least at the time of implementation. One of the perks of this
new selection implementation is that the selection doesn't disappear
whenever the terminal loses focus, so the right click you may be expecting
to paste may be doing a copy using the existing selection?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#28516 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAML4HIp0VZOjV0skRUEPqcU3M2qwEMBks5sDYlegaJpZM4N3DZ7>
.
|
@warpdesign are you sure? The selections aren't visible currently unless you have a theme that sets If not some follow ups:
|
@Tyriar I'll try to make a video. No errors in devtools console. |
Here is my user settings file: {
"window.zoomLevel": 0,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.cursorBlinking": true,
"workbench.colorTheme": "Dracula",
"workbench.iconTheme": "vscode-icons",
"editor.minimap.enabled": true,
"window.openFilesInNewWindow": "off",
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\cmd.exe",
"editor.cursorStyle": "line-thin",
"workbench.statusBar.visible": true,
"window.menuBarVisibility": "default",
"workbench.activityBar.visible": true
} And my workspace settings json: // Place your settings in this file to overwrite default and user settings.
{
"javascript.validate.enable": true,
"jshint.enable": false,
"jshint.options": {
"esversion": 6,
"esnext": true
},
"editor.insertSpaces": true,
"editor.tabSize": 4,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/.happypack": true
}
} |
@warpdesign very helpful thanks. While I look into this again you should fix up the spaces and tabs in your workspace settings.json 😉 |
@Tyriar glad it helps. You're right, I'll fix it ;) |
Can't repro using regular cmd.exe, how does clink get launched? |
I installed it using the installer here: clink installer. No idea how it gets launched. But I uninstalled it and still get the same bug. |
Hmm.. it might be related to the Windows console: opening an external cmd prompt, right-clicking on the title bar, choosing "default" and checking Note that on an external cmd prompt, right-click to paste works, no matter if Edit doesn't seem to be related after all :/ I guess I need some sleep, enough tests for now ;) |
@Tyriar It's a hit: |
I think I found the problem: I tried disabling my extensions one by one and it seems documentThis is the guilty one: if I disable it, right-click to paste works as expected. I wonder what it does than can break this functionnality. |
@warpdesign very strange, that extension seems to have nothing to do with the terminal. So after installing it against you see the issue occur? Did you try to step through the code and see which path it takes? Was it always going through the |
I experienced the same issue on Windows. After an Windows update and an Insiders update, it didn't worked anymore. But since then Ctrl + V(Paste) works fine. |
I think this was caused by the bug in |
To verifier: Any OS should do, as long as |
Steps to Reproduce:
What happens?
Nothing happens: nothing is pasted. And the clipboard seems to be empty
What should happen?
Text should be pasted and kept in the clipboard.
Note: selecting & copying some text inside the terminal div and then pasting it inside the terminal seems to work. But if it's copied outside of the terminal div, it doesn't work.
The text was updated successfully, but these errors were encountered: