Bracketed paste should be per-terminal [PATCH]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnome Virtual Terminal Emulator |
Fix Released
|
Medium
|
|||
vte (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Trusty |
Confirmed
|
Medium
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned | ||
Yakkety |
Confirmed
|
Undecided
|
Unassigned | ||
vte3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Yury V. Zaytsev | ||
Yakkety |
Confirmed
|
Undecided
|
Unassigned |
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:/
This bug is causing annoying garbage appended to every paste in mc:
https:/
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...
Related branches
tags: | added: patch |
Changed in vte3 (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Changed in vte3 (Ubuntu): | |
importance: | Undecided → Medium |
Changed in vte3 (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in vte: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
no longer affects: | vte3 (Ubuntu Xenial) |
Changed in vte (Ubuntu): | |
importance: | Undecided → Medium |
Changed in vte (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in vte (Ubuntu Xenial): | |
importance: | Undecided → Medium |
I uploaded this, thanks!