wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.98k stars 767 forks source link

Select to copy broken on nightly #4972

Open acidkewpie opened 8 months ago

acidkewpie commented 8 months ago

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

Hyprland

WezTerm version

wezterm 20240205_070437_39d2b6ca

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

Copying text with mouse only appears to work first use in a new window. After first time, soon nothing happens when then attempting to paste using middle click in the same window or anywhere else.

However the copied text appears in the Clipboard (which I wasn't expecting either but appears to be default behaviour in docs)

To Reproduce

Open new window select prompt text with left mouse paste with middle button click - works wait a second and paste again - paste works paste a number of times rapidly - nothing happens perform new select and paste operation - nothing happens ever again

Configuration

no config

Expected Behavior

Every time I press middle, no matter how fast, the context of the Primary Selection should be pasted into the terminal window.

Logs

Only message in overlay mode is:

09:15:36.020 ERROR window::os::wayland::window > set_cursor: Cursor not found

Which feels like it could be relevant. Noticed this in other uses a few days ago for the first time..?

Anything else?

No response

wez commented 7 months ago

wayland support is currently being reimplemented in main, and this sounds like a consequence of that. To workaround this for now, you can either run with enable_wayland=false if you have XWayland available, or install the latest stable release.