-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Copying query results to the clipboard does not always work #1388
Comments
This has become more prevalent in the most recent release; I see it happen most of the time now, whereas it was previously "sometimes". SQL Operations Studio version: sqlops 0.32.8 (efd470b, 2018-08-30T19:40:40.895Z) System Info
Extensions (6)
|
I wish I knew how to describe this better. But it's like one out of four attempts to copy to the clipboard actually do as expected. Most of the time, it seems like nothing happened at all. Version 0.32.8 |
Can someone confirm that they're noticing this recently too? There's been a lot of changes made to the way copy/paste works and would be interested to see if this problem still exists. |
Since there hasn't been any updates recently, I'll close this issue. Please update or create a new issue with any specific issues you're seeing with the clipboard. |
I am still seeing this issue. What I notice is that the data gets copied, but sometimes it takes seconds. I know there has been a fix released but even with the latest version I'm still experiencing this. |
Is the data larger than normal by any chance? Curious to see if there is some latency in copying to clipboard. Also, out of curiosity what OS is it? For some features of the application, the way "copy" works is that it sends a JSON RPC call to a C# component, so I'm curious if there could be some latency in that call. |
No, just an integer from a single cell for example. Windows 10, up-to-date. |
I am getting this randomly on the Mac version. Sometimes, the copy would work, other times, it wouldn't. E.g. If I copy row 3 column 2, I can paste. Now, if I need row 5 col 6, I'd highlight that, Cmd-C, and when I Cmd-V, I am still getting the earlier piece that I copied (Row 3 Col 2). It's very annoying. |
Why was this closed when it's clearly not fixed ?
Version: 1.24.0 (user setup) |
I was running into similar issues, even with the latest version of ADS. I was able to resolve my issues by deleting the %AppData%\azuredatastudio folder (effectively a factory reset of ADS). PS: You'll need to re-configure your connections & any preferences you had before. |
Thanks very much @dnaren , that worked 👍 |
I'm having the issue described, with exactly the same steps to reproduce. It seems intermittent, but very frequent. In some (all?) cases, the clipboard finally does get the expected contents only after a long delay (and no progress/activity indication). I tried also saving to Excel and in that case, a popup window appears and takes ages to finally save the file. Perhaps is this related to the other very major issue that connections to SQL Server take an insanely long time (also very frequently)? Although I haven't ruled out that issue could be something to do with my particular server and unrelated to the Azure client software. If you need further details or I should open a new bug report please let me know. I'm using the latest version of macOS and connecting in this case to a server running on Windows Server 2019 and SQL Server 2019, with encryption enabled, Trust Server Certificate enabled, and SQL Login (via a private VPN relay to avoid man in middle attacks under this configuration). I will in the meantime try @jelitter 's solution (and other workarounds). TIA! 🙏 😃 |
Hi, im having this issue on Linux Debian and Fedora too :-( |
@plmosqueda Can you try the latest insiders build? We recently fixed an issue with copy on Linux which will be included in the next release - #24341 |
@Charles-Gagnon Thank you man. Works really good on Debian 12. I will try later o Fedora. |
Issue Type: Bug
Steps to repro:
Expected result: query results are copied to the clipboard.
Actual result: query results are not copied to the clipboard and cannot be pasted.
SQL Operations Studio version: sqlops 0.29.3 (7099922, 2018-05-04T05:46:24.032Z)
OS version: Windows_NT x64 6.1.7601
System Info
Extensions (3)
The text was updated successfully, but these errors were encountered: