Skip to content

GUACAMOLE-2226: Newlines stripped on multiline paste via browser menu.#638

Merged
necouchman merged 1 commit intoapache:staging/1.6.1from
bbennett-ks:GUACAMOLE-2226-newlines-stripped-multiline-paste
Feb 21, 2026
Merged

GUACAMOLE-2226: Newlines stripped on multiline paste via browser menu.#638
necouchman merged 1 commit intoapache:staging/1.6.1from
bbennett-ks:GUACAMOLE-2226-newlines-stripped-multiline-paste

Conversation

@bbennett-ks
Copy link
Contributor

When using the browser menu (e.g. File and Edit/Paste in Chrome) pasting multiline text to a Guacamole SSH, RDP... session, the newline (LF or CR/LF) is dropped. e.g.

line1<LF>
line2<LF>
line3<LF>

becomes:
line1line2line3

Noticed this in guacd log:
guacd[56695]: DEBUG: Ignoring unknown keysym: 0xFF0A

It appears the menu paste option for text, in Chrome at least, uses simulated keyboard input: it sends each character as individual key events instead of using the clipboard mechanism. And the LF keysym wasn't handled.

@necouchman necouchman merged commit a6c1568 into apache:staging/1.6.1 Feb 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants