Vte that uses for GTK+ 2.0 based terminals also affected. XFCE termianl,
Mate Terminal uses libvte9 and affected too. Both Trusty and Xenials
still ships vte 0.28.2.

Note, upstream bug report contains patch based on 0.28.2, so it can be
simple adopted for current package.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte in Ubuntu.
https://bugs.launchpad.net/bugs/1506166

Title:
  Bracketed paste should be per-terminal [PATCH]

Status in Gnome Virtual Terminal Emulator:
  Fix Released
Status in vte package in Ubuntu:
  New
Status in vte3 package in Ubuntu:
  Fix Released
Status in vte source package in Trusty:
  New
Status in vte3 source package in Trusty:
  Fix Released

Bug description:
  [Impact]

  Bracketed paste mode (\e[?2004h) should be per-terminal (as it is for
  xterm), not per-screen. This was fixed upstream for vte3 0.36.2,
  however Trusty ships vte3 0.34.2 and it didn't make it:

  https://bugzilla.gnome.org/show_bug.cgi?id=729533

  This bug is causing annoying garbage appended to every paste in mc:

  https://www.midnight-commander.org/ticket/3207

  I have backported the fix to Trusty, tested it in my PPA and would
  appreciate if someone could sponsor an upload in updates, since Trusty
  is LTS after all.

  [Test Case]

  Select some text ("test") and copy it into the clipboard buffer. After
  that, install mc if you don't have it already and start it:

      sudo apt-get install mc
      mc

  Press CTRL+O to swap the panels, right click with the mouse button and
  pick "Paste" from the context menu. You will see that "~0test~1" is
  pasted into the console instead of "test" as it should be.

  For more details, see the bug report on mc bug tracker referenced
  above.

  [Regression Potential]

  The patch is taken from the vte3 bug tracker; it has been in trunk for
  more than a year and is contained in vte3 0.36.2+ releases. Nobody has
  reported any problems caused by this change so far...

To manage notifications about this bug go to:
https://bugs.launchpad.net/vte/+bug/1506166/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to