Skip to content

Unable to paste text into any Textual input via ctrl+v when text was copied from outside of the GUI (textual serve) #32

@Quantumatum

Description

@Quantumatum

When using textual serve, I have found that pasting text via ctrl+v anywhere that supports text input within the Textual GUI does not work when the text was copied from anywhere outside of the GUI, right click+paste does work though.

If text is highlighted within the Textual GUI and copied via ctrl+c, pasting with ctrl+v does in fact work and pastes the copied text. Interestingly, the copied text can only be pasted within the GUI with ctrl+v, attempting to paste the copied text outside of the GUI does not work and instead pastes whatever was last copied from outside of the GUI. It is then possible to paste two completely different values into the GUI, whatever was copied outside of the GUI with right click+paste, and whatever was copied within the GUI with ctrl+v.

Lastly, it doesn't appear possible to copy highlighted text within the GUI when using right click+copy, as the highlighted text is immediately deselected upon right clicking.

Is there a way to paste text copied from outside of the Textual GUI into the GUI using ctrl+v?
If not, is this something that could be added in a future version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions