pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Unable to select all text and copy it from messages tab of the SQL editor

Open aergul opened this issue 5 months ago • 1 comments

Describe the bug

Selecting all text in the messages tab of the SQL editor also selects text inside the scratch pad as well as text in the footer of the window. Copying the selected text using keyboard shortcut results in empty clipboard. Copying the selected text using right click menu => Copy results in selection going away (possibly resulting in only the text under the cursor being selected).

To Reproduce

  1. Run a query in the SQL editor
  2. Click on the Messages tab
  3. Right click inside the text are to Select All
  4. Right click to Copy
  5. You find that the selection is immediately reset and the clipboard does not contain all text that was previously selected

Expected behavior

Select All should limit selection to only the contents of the Messages tab and nothing beyond. Right click should not reset the selected text. Copy operation (via keyboard shortcut or menu option) should result in all text being copied to the system clipboard.

Error message

No error message, just buggy behavior.

Screenshots

Image



Image



Image



Desktop (please complete the following information):

  • OS: MAC OS Sequoia 15.1.1 (24B2091)
  • Version: pgadmin4 9.6
  • Mode: Desktop

Additional context

None

aergul avatar Jul 27 '25 08:07 aergul

Could I ask what is the status on this ?

Hu-Eb avatar Aug 22 '25 13:08 Hu-Eb