Public bug reported:

Version: gnome-remote-desktop 50.2-0ubuntu0.1, Ubuntu 26.04, Wayland,
GNOME Shell

Description: When copying any text containing accented characters (using
the pt_BR.UTF-8 locale) from a Windows client (tested on two separate
machines via `mstsc`) and pasting it into a GNOME session over RDP, the
accented characters appear as literal Unicode escape sequences (e.g.,
`\u00e7`, `\u00e3`) instead of the actual characters.

The debug log (`G_MESSAGES_DEBUG=all`) shows that, upon each
`SetSelection` event, the daemon requests three clipboard formats from
the client: `text/plain;charset=utf-8`, `UTF8_STRING`, and `text/html`.
The first two always succeed, while the request for `text/html`
consistently fails with the following error:

WARNING **: [RDP.CLIPRDR] Converting clipboard content failed: Failed to
get converted data

This occurs regardless of the source application on Windows (tested with
Chrome and the classic Notepad) and regardless of the Windows machine
being used. Typing directly into the RDP session works as expected; the
issue is specific to the clipboard path.

There is no option in `grdctl` or `gsettings`
(`org.gnome.desktop.remote-desktop`) to disable or bypass the
negotiation of the `text/html` format.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gnome-remote-desktop 50.2-0ubuntu0.1
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Dec  2 20:22:34 2026
InstallationDate: Installed on 2025-04-15 (596 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
 LANG=pt_BR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-ghostty
SourcePackage: gnome-remote-desktop
UpgradeStatus: Upgraded to resolute on 2026-09-30 (63 days ago)

** Affects: gnome-remote-desktop (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2180175

Title:
  Clipboard text/html conversion fails on every RDP selection,
  corrupting accented characters when pasted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2180175/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to