Skip to content

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

@aergul

Description

@aergul

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

Metadata

Metadata

Type

No type

Projects

Status

In Testing

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions