-
Notifications
You must be signed in to change notification settings - Fork 641
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
Ctrl+C to copy does not work in data grid #7920
Comments
Instead of the 2nd step, you could just try to copy any cell value by just selecting it (not double-click) and then use keyboard shortcut to copy the value (Ctrl+C). This bug exists since the last version (8.11), in the previous version it works fine. |
I'll add some extra information here: this only happens when there is selected text in the query editor. In that case, it's the selected text that's copied, regardless of focus. When clearing the selection, the selection from the data grid is copied correctly. Double-clicking the cell to copy the value works, however, sometimes you want to copy multiple rows or columns at once. |
But what f I want to copy the entire data grid ?
Possibly, yes. I can't reproduce this in a systematic manner. |
It looks like an issue with the CodeMirror editor. I have raised the issue here - https://discuss.codemirror.net/t/codemirror-copies-text-even-if-blurred/8627 |
Tried to create a minimal reproducible example - https://stackblitz.com/edit/vitejs-vite-wudzeh. Looks like an issue with pgAdmin. |
OK, I think I am able to reproduce this in pgadmin. Failing :
Working :
|
… Query Tool data grid. pgadmin-org#7920
Found an issue: if we have a query selected in the editor and then select a row in the result grid, copying it and attempting to paste will paste the selection into the editor instead of the result grid. |
Describe the bug
Copying data from the datagrid in the Query Tool does not work in the latest release. Clicking on the "copy" button in the toolbar works fine though.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should paste the data
Error message
Pastes what was previously in the clipboard.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: