Skip to content

[Console] Right click Copy does not copy the entire selected text #204668

Open
@rseldner

Description

Kibana version:
8.16.0, 8.16.1, 8.16.2, 8.17.0

Original install method (e.g. download page, yum, from source, etc.):
Elastic Cloud

Describe the bug:
In Monaco based text boxes (it seems), you cannot use right click to copy a block of highlighted/selected text.
Right clicking results in a secondary selection over the individual word/string where the user right clicks on (screenshot below).

To copy a block of text, you need to use Ctrl/Cmd-C instead.

I cannot reproduce myself on Monaco playground nor vscode. So it seems to be unique to the Monaco implementation in Kibana?

Steps to reproduce:

  1. Navigate to dev tools
  2. Input multiple lines of text
  3. Highlight said text
  4. Right click on the highlighted text and select Copy
  5. Paste the text anywhere and observe only the portion you right click on was copied

Screenshots (if relevant):

Clip of me using right click + Copy followed by Cmd+C

Kapture.2024-12-12.at.19.07.02.webm

Example of the secondary selection I was referring to. It's subtle, but you can see different shading on the right clicked string.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:ConsoleDev Tools Console FeatureTeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and morebugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions