Copy and paste clipboard types other than text #23
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:map
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jeff/harrier#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Map for copying and pasting Clipboard types other than text, through kitty's clipboard protocol (OSC 5522), on Wayland.
Tickets
Outside this map: #29 Windows, #30 image previews in the confirmation, #31 a write that asks first being answered "done" too early.
Decisions so far
clipboard.read/clipboard.write(and a profile's) cover every type alike. A screenshot is as private as a password.Dnd.handles/pump), in their ownClipboardTransfers. A transfer whose pane has gone simply stops. (Changed from a worker thread, which would have held aSessionthat can be destroyed under it.) Keyboard paste keeps its synchronous text read.UTF8_STRING,TEXT,STRING,TARGETS) are left out. A paste event's listing is the same.zig-0.17-jeff.c783bc5).04ca104): the confirmation names types and sizes when anything isn't text.9a9ae8b): writes keep every type; the platform's reference-countedOfferedholds them, andClipboardTransfersserves each request without blocking.3a587f1):ClipboardTransfersreads every type at once over non-blocking pipes in the main loop; #27 serves writes from the same place.0a4b0ba): the platform hasclipboardTypes; listings and paste events come from it and read nothing.59714c2):ClipboardAnswercarries (type, bytes) pairs and the listing; a text type is served from text read under any name.Fog
Notes
The original description:
Every ticket on the map is done: #24, #25, #26, #27 and #28. On Wayland, programs can now copy and paste any clipboard type through kitty's clipboard protocol. Still open outside the map: #29 (Windows), #30 (image previews in the confirmation) and #31 (a write that asks first is answered "done" too early).