Skip to content

Protect user from accidentally pasting too large input #1198

Description

@christianparpart

@Marenz just found out, that when pasting too big text data to Contour, it will freeze (or at least looks like this).

After a short investigation, we found out that the data to be pasted was still being pasted, it just takes very long. Most likely because the way we do it is certainly not most efficient.

Action items

  • Ask the user something like: "Are you sure you want to paste {X amount} characters?" in a Yes/No dialog and only continue pasting on Yes, abort otherwise.
  • If the content is really to be pasted, make sure it's more efficiently done and NOT blocking the GUI thread

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfrontendContour Terminal Emulator (GUI frontend)

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions