Description
Discussed in #4766
Originally posted by dumbasPL January 7, 2025
host: Arch Linux, GNOME 47 on Wayland
version: 1.0.2-main+a3837a1e (built from source)
simplified config (without theming):
shell-integration-features = no-cursor
copy-on-select = clipboard
scrollback-limit = 134217728
adw-toolbar-style = raised-border
auto-update = off
term = xterm-256color
steps to reproduce:
- enable
copy-on-select = clipboard
- select something by clicking and dragging the mouse
- observe
Copied to clipboard
spam at the bottom
expected behavior:
Copied to clipboard
shows once the selection has ended (when the mouse button is lifted)
Solution
I think we should also look into the core here (src/Surface.zig
) to see if we should only apply the selection when a mouse release event happens.
We should probably also change the GTK implementation to only show the toast after a very short (50ms or so) delay.