Skip to content

Enable arboard?/wayland-data-control for wayland feature#8165

Draft
grtlr wants to merge 1 commit into
mainfrom
grtlr/enable-wayland-data-control
Draft

Enable arboard?/wayland-data-control for wayland feature#8165
grtlr wants to merge 1 commit into
mainfrom
grtlr/enable-wayland-data-control

Conversation

@grtlr

@grtlr grtlr commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Warning

Currently blocked by waiting for winit v0.31.

Fixes this warning (and clipboard support) on Wayland:

[2026-05-18T09:49:48Z WARN  egui_winit::clipboard] Failed to initialize arboard clipboard: Unknown error while interacting with the clipboard:
  X11 server connection timed out because it was unreachable

From the arboard crate description:

However, Wayland is becoming the majority default as of 2025. Some distributions are even considering the removal of X by default. To support Wayland correctly, arboard users should enable the wayland-data-control feature. If enabled, it will be prioritized over the X clipboard.

Wayland support is not enabled by default because it may be counterintuitive to some users: it relies on the data-control protocol extension(s), which are not supported by all Wayland compositors. You can check compositor support on wayland.app [...]

Related

The problem is that cargo won't let us specify "if both wayland and clipboard are enabled, also enable smithay" without more shenanigans.

@grtlr grtlr added the bug Something is broken label May 18, 2026
@github-actions

github-actions Bot commented May 18, 2026

Copy link
Copy Markdown

Preview available at https://egui-pr-preview.github.io/pr/8165-grtlrenable-wayland-data-control
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@grtlr grtlr marked this pull request as draft May 18, 2026 10:40
@grtlr grtlr marked this pull request as ready for review May 18, 2026 10:55
@grtlr grtlr added the blocked Can't make progress right now label May 18, 2026
@emilk emilk added the egui-winit porblems related to winit label May 18, 2026
@emilk emilk marked this pull request as draft May 18, 2026 12:04
@emilk

emilk commented May 18, 2026

Copy link
Copy Markdown
Owner

converted to draft until unblocked by winit 0.31 (any year now…)

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

Labels

blocked Can't make progress right now bug Something is broken egui-winit porblems related to winit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants