-
Notifications
You must be signed in to change notification settings - Fork 913
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
Copying of results to clipboard not working #24043
Comments
It seems to work fine with xsel installed yeah. It looks like its related to a new feature where it tells you how many rows its copied, I guess due to previous complaints that the copy and paste from results seemed to be a little unreliable at times. I guess a solution would be to add xsel as a dependency of the package so that it gets auto installed? |
Copy/paste is also broken on Windows 11 from the query results. Copying from output or something else works fine. I don't see a popup or anything, it just doesn't work. Here's what I see in DevTools:
|
CopyText/TextCopy#733 Seems like this issue is coming from the TextCopy package we added to STS here: microsoft/sqltoolsservice#2096 |
@Nikolai5 The fix should be in the latest insiders, if you'd like to give it a try. |
@cssuh I downloaded the latest insiders build (1.4.7.0-insider) but this still doesn't work on Windows 11 with the same error in the dev tools: ERR Object reference not set to an instance of an object.: Error: Object reference not set to an instance of an object. |
@jhubsharp do you mind opening a new issue for this? Also, what type of server are you connected to? |
@cssuh new issue filed with details of which databases (both SQL Server) are having problems. Thanks for taking a look. |
Seems like this is also back on Linux. The installation of Xsel is not longer a work around. How does Microsoft break such a fundamental feature? Next we won't be able to paste into the Query window... |
Just wanted to confirm that the issue seems to be resolved. I can copy without xsell installed without issue. Tested on 6.6.7-1-MANJARO KDE (X11) |
Type: Bug
If I try to copy the contents of a field, even a single field, it doesn't work. The first time I press a copy I get a progress bar/popup in the bottom-right of the window that says "copying.." and even if I wait for that to go away it hasn't actually copied the text to my clipboard.
After that the message doesn't appear but copy still seems to do nothing. It is the same if I right click and select copy or use the ctrl + c shortcut.
Azure Data Studio version: azuredatastudio 1.45.0 (8eff468, 2023-07-24T18:11:05.791Z)
OS version: Linux x64 5.15.0-78-generic
Restricted Mode: No
Preview Features: Disabled
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (1)
The text was updated successfully, but these errors were encountered: