Skip to content

Clipboard image paste does nothing in coder on Wayland/Sway #565

@Talanor

Description

@Talanor

What version of Code is running?

No response

Which model were you using?

No response

What platform is your computer?

No response

What terminal emulator and version are you using (if applicable)?

No response

What steps can reproduce the bug?

Same as #560 . This was not fixed but can't reopen.

The fix is described in my answer below the issue, but copying it for ease of access :

I reproduced it locally (still Sway & Wayland) and narrowed it down to arboard being built without native Wayland clipboard support. wl-paste could read the clipboard image (image/png), but arboard::get_image() failed until I rebuilt with arboard’s wayland-data-control feature enabled.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions