[Bug 293600] x11/alactritty: fix for broken clipboard after suspend/resume
Date: Thu, 05 Mar 2026 14:23:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293600
Bug ID: 293600
Summary: x11/alactritty: fix for broken clipboard after
suspend/resume
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: freebsd@dev.thsi.be
Created attachment 268557
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268557&action=edit
0001-x11-alacritty-fix-broken-clipboard-after-resume.patch
Hello,
It seems that on FreeBSD poll() returns -1 with EINTR set during a
suspend/resume
cycle. That causes a thread spawned by x11_clipboard to exit, and from there on
the clipboard ceases to work. This is the root cause for the issue reported
here:
https://github.com/alacritty/alacritty/issues/8001
I'm sending a fix to the author of x11_clipboard to retry the poll on EINTR and
I'm making the alacritty developpers aware of this bug.
I suppose that it may take some time for the fix to propagate downstream, from
x11_clipboard to copypasta and then to alacritty. In the mean time, I'd suggest
to apply the attached patch to the ports tree so that FreeBSD ports tree users
may get a fix sooner rather than later.
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.