No context menu in VIM in gnome-terminal after upgrade to xenial

Bug #1610882 reported by Valentas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgrade to 16.04, I am no longer able to copy / paste text from clipboard in VIM using gnome-terminal. The previous sequence of actions that worked on 14.04 was: to copy: 1) select text holding shift 2) right click using mouse 3) click "Copy". To paste: 1) In insert mode, right-click mouse 2) click "Paste".

This issue does not exist in mate-terminal.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-terminal 3.18.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CurrentDesktop: Unity
Date: Mon Aug 8 11:06:28 2016
InstallationDate: Installed on 2014-01-25 (926 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to xenial on 2016-08-04 (3 days ago)

Revision history for this message
Valentas (vk-registrator) wrote :
Revision history for this message
Valentas (vk-registrator) wrote :

I forgot to mention that the present behaviour is that context-menu simply does not appear on right-click. I can select copy from the top menu bar, which is not convenient at all.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

This is because gnome-terminal now correctly delivers the right-click event to vim (or any application that is interested in mouse events). In 14.04 it was impossible for vim (or any other app) to receive right-clicks in gnome-terminal.

You might either disable mouse support in vim, or invoke the context menu with Shift + right-click, or use the top menu bar or the shortcut key Ctrl + Shift + C/V.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Just for the record: upstream bug and discussion was https://bugzilla.gnome.org/show_bug.cgi?id=13299.

Revision history for this message
Valentas (vk-registrator) wrote :

Thank you, Egmont. After some fiddling I discovered Shift + right-click myself, but you already posted a nice explanation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.