Bug 19467

Summary: since vim-8.0.3, it is impossible to copy from view in konsole and gnome-terminal to another application
Product: Mageia Reporter: Marja Van Waes <marja11>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: anaselli, mageia, olav, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: vim-8.0.5-1.mga6 CVE:
Status comment:

Description Marja Van Waes 2016-09-27 11:52:05 CEST
Since vim moved to gtk+3.0, it is impossible to copy from vim in konsole to another application

As a workaround, gvim from vim-X11 can be used.

However, I haven't found a working alternative for copying from a file opened in read-only mode, with view.

gvim and gview are not available, and:

[marja@cldrn_64 ~]$ view -g file 
E25: GUI cannot be used: Not enabled at compile time
[marja@cldrn_64 ~]$

After ssh'ing from my konsole into my raspberry and using an old (gtk+2) version of vim/view there, copying to another application works fine.


Assuming there is something wrong with gtk+3.0 support in konsole, so assigning to the KDE maintainers.

Please re-assign if I'm wrong.
Comment 1 Marja Van Waes 2016-09-27 11:54:49 CEST
(Note that the + and * registers in vim aren't available, either, so can't be used as workaround)
Comment 2 Marja Van Waes 2016-09-27 12:12:31 CEST
Apologies to the kde maintainers.

It stopped working with gnome-terminal, too.

So the problem is in vim

Assignee: kde => thierry.vignaud
Summary: since vim moved to gtk+3.0, it is impossible to copy from view in konsole to another application => since vim moved to gtk+3.0, it is impossible to copy from view in konsole and gnome-terminal to another application
Source RPM: konsole-16.08.1-2.mga6, vim-8.0.5-1.mga6, gtk+3.0-3.22.0-3.mga6 => vim-8.0.5-1.mga6, gtk+3.0-3.22.0-3.mga6

Comment 3 Marja Van Waes 2016-09-27 12:15:58 CEST
unless it's limited to konsole & gnome-terminal in Plasma5 .... I'll test within another DE asap
Thierry Vignaud 2016-09-27 12:24:03 CEST

Blocks: 11778 => (none)

Comment 4 Thierry Vignaud 2016-09-27 12:24:34 CEST
"set mouse-=a" is your friend
Comment 5 Marja Van Waes 2016-09-27 12:54:31 CEST
(In reply to Thierry Vignaud from comment #4)
> "set mouse-=a" is your friend

You're right :-D

There might be more users who don't know about this good friend, though.

Is it possible to have this option set by default again?
Comment 6 Marja Van Waes 2016-09-27 13:14:08 CEST
I'm as 99% sure that for me this changed with vim-8.0.3-2.mga6
Note that I never used vim-8.0.3-1.mga6

CC: olav => (none)
Summary: since vim moved to gtk+3.0, it is impossible to copy from view in konsole and gnome-terminal to another application => since vim-8.0.3, it is impossible to copy from view in konsole and gnome-terminal to another application
Source RPM: vim-8.0.5-1.mga6, gtk+3.0-3.22.0-3.mga6 => vim-8.0.5-1.mga6

Comment 7 Nicolas Lécureuil 2016-09-27 13:17:44 CEST
can this config done by default ?

CC: (none) => mageia

Comment 8 Olav Vitters 2016-09-27 14:51:17 CEST
Latest vim takes over the mouse. Within gnome-terminal, hold down the shift to really select text.

Having mouse support by default is ok, if there's a bug, don't change configs, forward the bugreport upstream.

CC: (none) => olav

Angelo Naselli 2016-09-27 22:20:59 CEST

CC: (none) => anaselli

Comment 9 Thierry Vignaud 2016-09-28 14:42:04 CEST
Sure
Comment 10 Thierry Vignaud 2017-01-07 17:53:13 CET
Fixed in SVN

Status: NEW => RESOLVED
Resolution: (none) => FIXED