Is this a reproducible bug?
Current behavior
After reattaching to a persistent local Herdr session from a Wayland terminal, a Pi process in an existing pane cannot attach a copied clipboard image with Ctrl+V. The same clipboard contains the image outside Herdr, and normal keyboard input reaches the pane.
The pane process environment shows XDG_SESSION_TYPE=tty with no WAYLAND_DISPLAY or DISPLAY, while the Wayland terminal used for the attachment has those variables set.
Expected behavior
Pi running in a local Herdr pane should behave like the same Pi process outside Herdr: after copying a screenshot, Ctrl+V should attach the image.
Reproduction
- Start a persistent local Herdr session from a tty/tmux context where
WAYLAND_DISPLAY and DISPLAY are unset and XDG_SESSION_TYPE=tty.
- Later attach to the same session from a Wayland terminal.
- In a Pi 0.84.0 pane, copy a screenshot and press
Ctrl+V.
- Confirm from the Wayland terminal that the clipboard contains an image with
wl-paste --list-types.
- Observe that Pi does not attach an image path, although normal key input continues to work.
Impact
Screenshot-based workflows cannot paste images into Pi when it runs in the persistent local session. The same workflow works when Pi runs directly in the graphical terminal.
Environment
- Herdr version: 0.8.0
- Update channel (stable or preview): stable
- Operating system: Linux, Wayland (
WAYLAND_DISPLAY=wayland-1, DISPLAY=:0)
- Terminal: tmux in a graphical terminal
- Shell, if relevant: not reported
- Relevant config, if any: persistent server originally started with
XDG_SESSION_TYPE=tty and no display variables; Pi 0.84.0
Is this a reproducible bug?
Current behavior
After reattaching to a persistent local Herdr session from a Wayland terminal, a Pi process in an existing pane cannot attach a copied clipboard image with Ctrl+V. The same clipboard contains the image outside Herdr, and normal keyboard input reaches the pane.
The pane process environment shows
XDG_SESSION_TYPE=ttywith noWAYLAND_DISPLAYorDISPLAY, while the Wayland terminal used for the attachment has those variables set.Expected behavior
Pi running in a local Herdr pane should behave like the same Pi process outside Herdr: after copying a screenshot, Ctrl+V should attach the image.
Reproduction
WAYLAND_DISPLAYandDISPLAYare unset andXDG_SESSION_TYPE=tty.Ctrl+V.wl-paste --list-types.Impact
Screenshot-based workflows cannot paste images into Pi when it runs in the persistent local session. The same workflow works when Pi runs directly in the graphical terminal.
Environment
WAYLAND_DISPLAY=wayland-1,DISPLAY=:0)XDG_SESSION_TYPE=ttyand no display variables; Pi 0.84.0