Skip to content

handle clipboard large data transfers better #275

@totaam

Description

@totaam

At present, the limit for clipboard packets is 32KB (see #274), which means that:

  • this can cause significant network congestion, delaying all other packets until the data is fully sent - causing problems elsewhere (ie: the damage heuristics to start batching screen updates heavily)
  • this delay can cause the user to get confused, wondering why "it is not pasting" and requesting the data again... causing yet more trouble.

Solutions:

  • if the clipboard data is large, send it in chunks so we can interleave it with some more regular data (screen updates from server, mouse movements from client, etc) - and maybe even, cancel it altogether if we find that the other end timedout
  • as we start sending the clipboard data, notify the client so we can give a visual cue to the user that something is happening (temporarily replace the tray icon with a clipboard icon?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions