Azuredatastudio: Copy does not work

Created on 11 May 2020  路  8Comments  路  Source: microsoft/azuredatastudio

Issue Type: Bug

  1. Query any data with Azure Data Studio

  2. Try and copy all of part of the results. For eg: a row, a cell, a colum, a subset of data (Ctrl + C or right-click and copy)

  3. Sometimes it copies correct, sometimes, it doesn't copy at all, sometimes it copies the wrong field. The issue is not predictable.

Azure Data Studio version: azuredatastudio 1.17.1 (814ce88c41e0daaca89afed8b184e795057a6f9d, 2020-04-30T00:16:35.943Z)
OS version: Windows_NT x64 10.0.18363


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|31.88GB (6.49GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|

Extensions (1)

Extension|Author (truncated)|Version
---|---|---
azdata-sanddance|msr|1.3.9


Area - Query Editor Bug Needs Logs Done Postponed

Most helpful comment

I've also experienced this issue.

Ran a query, got results: a single integer Id for some record.

Attempt to copy it from Results window--no dice.
Right click => Copy, no dice,
Right click => copy with headers, no dice.

Close and reopen Azure Data Studio => Re-run query => CTRL+C, success!

All 8 comments

Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

This looks a lot like https://github.com/microsoft/azuredatastudio/issues/1388. Which was recently closed as no repro. I'll move this one into the next milestone for further investigation.

I've also experienced this issue.

Ran a query, got results: a single integer Id for some record.

Attempt to copy it from Results window--no dice.
Right click => Copy, no dice,
Right click => copy with headers, no dice.

Close and reopen Azure Data Studio => Re-run query => CTRL+C, success!

Me Too! have tried close and reopen.. still no luck
copypaste

image

@don-binerd looks like your issue is related to notebooks.

The same behaviour (not copying results to clipboard) is happening with a query file too. very weird

We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.

To find your logs:

  • Open command palette (Click View -> Command Palette)
  • Run the command: Developer: Open Logs Folder

This will open the log file locally. Please include renderer.log

Please close.
The issue is now working with the latest version of data studio.

For newbies you must right click the data and not the headers (behaves differently to ssms)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kburtram picture kburtram  路  3Comments

ottadvantage picture ottadvantage  路  3Comments

haydnlj picture haydnlj  路  3Comments

erickangMSFT picture erickangMSFT  路  3Comments

sandermvanvliet picture sandermvanvliet  路  3Comments