[Bug 1506166] [NEW] Bracketed paste should be per-terminal [PATCH]

Launchpad Bug Tracker 1506166 at bugs.launchpad.net
Fri Oct 7 08:32:22 UTC 2016


You have been subscribed to a public bug by Iain Lane (laney):

[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...

** Affects: vte
     Importance: Medium
         Status: Fix Released

** Affects: vte (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: vte3 (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: vte (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: vte3 (Ubuntu Trusty)
     Importance: Medium
     Assignee: Yury V. Zaytsev (zyv)
         Status: Fix Released


** Tags: patch verification-done
-- 
Bracketed paste should be per-terminal [PATCH]
https://bugs.launchpad.net/bugs/1506166
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list