alacritty / alacritty

A cross-platform, OpenGL terminal emulator.
https://alacritty.org
Apache License 2.0
56.27k stars 3.02k forks source link

Clipboard broken with new hyprland patch #7975

Closed Kommynct closed 5 months ago

Kommynct commented 5 months ago

Vaxry is claiming this is an issue with alacritty's clipboard implementation

https://github.com/hyprwm/Hyprland/pull/5999#issuecomment-2111113609

chrisduerr commented 5 months ago

Hyperland isn't exactly the most reliable source for Wayland implementation details. @kchibisov do you have any opinion on this?

Aqa-Ib commented 5 months ago

Well, everything is working except Alacritty. Hopefully we can find where the problem resides.

chrisduerr commented 5 months ago

"everything" usually boils down to mostly GTK and if you're lucky maybe QT. And GTK isn't exactly known for being a particularly great Wayland citizen either.

Aqa-Ib commented 5 months ago

Terminal emulators that work: Kitty, Contour, Konsole, Gnome-terminal.

Neovim executed inside of Alacritty synchronizes with the system clipboard, but for it to work I have to use its internal keybindings 'y' and 'p'.

If you want me to provide logs, I would gladly.

kchibisov commented 5 months ago

I don't want to deal with these, please use something else. But you can use WAYLAND_DEBUG=1 logs from alacritty to fix it yourself if you believe that it's our bug.