Yes, it's very rare, only happened to me twice so far since upgrading to 17.04. Unfortunately, I don't know what triggers it.
Never use terminal tabs so I didn't think to test that. Nor Shift+Insert, although since even clipboard paste is affected, it's likely that Shift+Insert is too. This is a fairly stock Ubuntu-Gnome 17.04 on Xorg. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1698547 Title: pasting into gnome-terminal pastes into a different terminal window Status in gnome-terminal package in Ubuntu: New Bug description: Ubuntu-Gnome 17.04, latest updates, 28 days uptime Open two or more gnome-terminal windows. Select some text and copy it (source application doesn't matter, could be a terminal, Firefox, etc.). For safety, use text without line breaks, a single character will suffice. Using middle click, paste into one gnome-terminal, then another, and so on. When the bug manifests, all paste events to any gnome-terminal go to one of the terminals. Right clicking and selecting Paste from the drop-down menu is less effective at triggering the bug, but once triggered, right-click paste is also affected. Pasting into other applications is not affected. This bug could cause potentially dangerous commands to be executed in a shell, when the intention was to paste them into a file in a different terminal. ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: gnome-terminal 3.20.2-1ubuntu8 Uname: Linux 4.11.0-041100-generic x86_64 ApportVersion: 2.20.4-0ubuntu4.1 Architecture: amd64 Date: Sun Jun 18 00:02:46 2017 InstallationDate: Installed on 2016-12-02 (196 days ago) InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Release amd64 (20161012.1) ProcEnviron: LANGUAGE=en_AU:en TERM=xterm-256color PATH=(custom, no user) LANG=en_AU.UTF-8 SHELL=/bin/bash SourcePackage: gnome-terminal UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1698547/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp