🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6995

Bug#1156017: nheko: the copy menu option copies to the clipboard with HTML encoding

#6995
From: Russell Coker
Date: Tue, 01 Dec 2026 12:20
90 lines
5582 bytes
Package: nheko
Version: 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1+b7
Severity: normal

"<>test

The above is the result of clicking the right mouse button on a Matrix message
I sent in Nheko and then selecting the "Copy" menu option, I then pasted the
result into this bug report and got the above.

"<>test

Then I selected the entire text of the message in question by dragging my
mouse with the button held down and pressed ^C to copy it which gave the above
result when pasted.

What I expect generally is that when copying data in two different ways I get
the same copied data.  I also expect to have plain text data not HTML encoded
data.

-- System Information:
Debian Release: forky/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.3.4+deb14-amd64 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages nheko depends on:
ii  libc6                                     2.43-7
ii  libcmark0.30.2                            0.30.2-6+b3
ii  libcpp-httplib0.41                        0.41.0+ds-3
ii  libcurl4t64                               8.23.0-2
ii  libevent-core-2.1-7t64                    2.1.13-stable-1
ii  libevent-pthreads-2.1-7t64                2.1.13-stable-1
ii  libfmt12                                  12.2.1+ds1-1
ii  libgcc-s1                                 16.2.0-5
ii  libglib2.0-0t64                           2.90.1-2
ii  libgstreamer-gl1.0-0                      1.28.9-1
ii  libgstreamer-plugins-bad1.0-0             1.28.9-1+b1
ii  libgstreamer-plugins-base1.0-0            1.28.9-1
ii  libgstreamer1.0-0                         1.28.9-1
ii  libkdsingleapplication-qt6-1.0            1.2.1-1
ii  liblmdb0                                  0.9.35-1
ii  libolm3                                   3.2.16+dfsg-6
ii  libqt6core6t64 [qt6-base-private-abi]     6.11.2+dfsg-8
ii  libqt6dbus6                               6.11.2+dfsg-8
ii  libqt6gui6                                6.11.2+dfsg-8
ii  libqt6keychain1                           0.18.0-1
ii  libqt6multimedia6                         6.11.2-3
ii  libqt6qml6 [qt6-declarative-private-abi]  6.11.2+dfsg-4
ii  libqt6quick6                              6.11.2+dfsg-4
ii  libqt6svg6                                6.11.2-2
ii  libqt6widgets6                            6.11.2+dfsg-8
ii  libre2-11 [libre2-11-absl20260526]        20251105-1+b3
ii  libspdlog1.17 [libspdlog1.17-fmt12]       1:1.17.0+ds-1
ii  libssl3t64                                3.6.5-1
ii  libstdc++6                                16.2.0-5
ii  qml6-module-qt-labs-platform              6.11.2+dfsg-4
ii  qml6-module-qtmultimedia                  6.11.2-3
ii  qml6-module-qtqml                         6.11.2+dfsg-4
ii  qml6-module-qtqml-models                  6.11.2+dfsg-4
ii  qml6-module-qtquick                       6.11.2+dfsg-4
ii  qml6-module-qtquick-controls              6.11.2+dfsg-4
ii  qml6-module-qtquick-dialogs               6.11.2+dfsg-4
ii  qml6-module-qtquick-effects               6.11.2+dfsg-4
ii  qml6-module-qtquick-layouts               6.11.2+dfsg-4
ii  qml6-module-qtquick-particles             6.11.2+dfsg-4
ii  qml6-module-qtquick-window                6.11.2+dfsg-4
ii  qt6-svg-plugins                           6.11.2-2

Versions of packages nheko recommends:
ii  ca-certificates            20261123
ii  fonts-noto-color-emoji     2.051-1
ii  gnome-keyring              51.1-3
pn  gstreamer1.0-libcamera     <none>
ii  gstreamer1.0-nice          0.1.23-2+b1
ii  gstreamer1.0-pipewire      1.6.11-2
ii  gstreamer1.0-plugins-bad   1.28.9-1+b1
ii  gstreamer1.0-qt6           1.28.9-1
ii  kwalletmanager             4:26.08.2-1
ii  qt6-image-formats-plugins  6.11.2-2

Versions of packages nheko suggests:
pn  gstreamer1.0-vaapi     <none>
ii  kimageformat6-plugins  6.32.0-1

-- no debconf information
Technical Details
Message-ID: <O5uZX-fkqx-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Russell Coker <russell@coker.com.au>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156017: nheko: the copy menu option copies to the clipboard with HTML encoding
Date: Tue, 01 Dec 2026 13:20:01 +0100
Message-ID: <O5uZX-fkqx-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 12:15:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: 0.349
Reply-To: Russell Coker <russell@coker.com.au>, 1156017@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-matrix-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: report 1156017
X-Debian-Pr-Package: nheko
X-Debian-Pr-Source: nheko
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Greylist: delayed 35428 seconds by postgrey-1.37 at buxtehude; Tue, 01 Dec 2026 12:13:14 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006274
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 90
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 23:13:06 +1100
X-Original-Message-ID: <179612718673.2.6560572949289228284.reportbug@xev>