Package: emacs-gtk Version: 1:27.1+1-3.1+b1 Severity: normal I have an Emacs running, and a middle-click pastes text that is not the primary selection (note: it is not the content of the clipboard either, as seen with Ctrl-Y). Changing the primary selection by selecting something else in an xterm does not solve this issue. Running a different Emacs instance does not show this issue, thus the bug is in Emacs and is visible under some unknown conditions.
I could eventually avoid the issue without restarting Emacs by selecting some text in the running Emacs. -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.17.0-1-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages emacs-gtk depends on: ii emacs-bin-common 1:27.1+1-3.1+b1 ii emacs-common 1:27.1+1-3.1 ii libacl1 2.3.1-1 ii libasound2 1.2.6.1-2+b1 ii libc6 2.33-7 ii libcairo2 1.16.0-5 ii libdbus-1-3 1.14.0-1 ii libfontconfig1 2.13.1-4.4 ii libfreetype6 2.11.1+dfsg-2 ii libgdk-pixbuf-2.0-0 2.42.8+dfsg-1 ii libgif7 5.2.1-2.4 ii libglib2.0-0 2.72.1-1 ii libgmp10 2:6.2.1+dfsg-3 ii libgnutls30 3.7.4-2 ii libgpm2 1.20.7-10 ii libgtk-3-0 3.24.33-1 ii libharfbuzz0b 2.7.4-1+b1 ii libice6 2:1.0.10-1 ii libjansson4 2.14-2 ii libjpeg62-turbo 1:2.1.2-1 ii liblcms2-2 2.12~rc1-2 ii libm17n-0 1.8.0-4 ii libotf1 0.9.16-3 ii libpango-1.0-0 1.50.6+ds-2 ii libpng16-16 1.6.37-5 ii librsvg2-2 2.52.5+dfsg-3+b1 ii libselinux1 3.3-1+b2 ii libsm6 2:1.2.3-1 ii libsystemd0 250.4-1 ii libtiff5 4.3.0-7 ii libtinfo6 6.3+20220423-1 ii libx11-6 2:1.7.5-1 ii libxext6 2:1.3.4-1 ii libxfixes3 1:6.0.0-1 ii libxml2 2.9.13+dfsg-1+b1 ii libxrender1 1:0.9.10-1 ii zlib1g 1:1.2.11.dfsg-4 emacs-gtk recommends no packages. Versions of packages emacs-gtk suggests: ii emacs-common-non-dfsg 1:27.1+1-2 -- no debconf information -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

