Bug 144109 - gvim X selection no longer copies
Summary: gvim X selection no longer copies
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Commercial (show other bugs)
Version: Beta 3
Hardware: i686 SUSE Other
: P5 - None : Normal (vote)
Target Milestone: Beta 4
Assignee: Robert Love
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 15:42 UTC by Robert Love
Modified: 2006-02-02 20:33 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Fix for bug (239 bytes, patch)
2006-02-02 19:17 UTC, Robert Love
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Love 2006-01-19 15:42:48 UTC
As of a recent gvim release (6.4.6-3), X selection no longer copies the selected text to the X selection.

Paste still works, but copy does not.

I reproduced it on GNOME and lieschen reproduced on KDE (so it is not a Klipper or similar problem).

Maybe an upstream change?
Comment 1 Martin Mrazik 2006-01-27 13:49:24 UTC
I can reproduce this on KDE 3.5 (SLES10, beta1) as well. Really annoying.
Comment 2 Hendrik Vogelsang 2006-02-01 12:42:02 UTC
gnome-maintainers i could use some help here. can one of you have a look at gvim?
Comment 3 JP Rosevear 2006-02-02 10:30:41 UTC
Well, afaik the editable area of gvim has nothing to with gtk, its just a plain X app, so I don't think there is any gtk/gnome specific help we can give here.
Comment 4 Hendrik Vogelsang 2006-02-02 16:00:36 UTC
Marcus can one of you guys have a look please?
Comment 5 Marcus Schaefer 2006-02-02 18:06:54 UTC
xselection -cutbuffer 0 works for me
Comment 6 Robert Love 2006-02-02 18:28:00 UTC
Great.

Does running `gvim /etc/passwd` and selecting some text and then middle-click pasting it into a terminal work for you?

It does not work here on multiple STABLE machines.  mmrazik and others see the same thing.

Version is 6.4.6-4.
Comment 7 Marcus Schaefer 2006-02-02 18:43:51 UTC
I was checking the xselection implementation which works for me.
I was checking gvim on beta4 which works for me, I tried checking on
stable but this couldn't be done because stable is not ready currently

  /usr/X11R6/bin/gvim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

So I doubt you are running STABLE. I'm not the maintainer of gvim and it
was good will to look at that bug, according to your answer I wasted enough
time here. Ask the maintainer of gvim if there are problems with gvim


Comment 8 Robert Love 2006-02-02 19:03:55 UTC
Just because you do not want to fix the bug does not mean that the bug is resolved.  Assign it to someone who is willing to help, then.

I am definitely running gvim on STABLE, up-to-date as of today, thank you.  gvim 6.4.6-4 uses the new perl 5.8.8.  Perhaps the versions were not bumped.

Since multiple people are seeing this bug, and it is a pretty bad bug, it needs to be fixed, not thrown aside.

I will investigate.
Comment 9 Robert Love 2006-02-02 19:04:37 UTC
Reassigning to me..
Comment 10 Robert Love 2006-02-02 19:16:48 UTC
Well, a little good will and a fix is found.

The cause of this bug is the fix to bug #141096 (submitted 11 Jan 2006).  The updated gvimrc removes the 'a' guioption, which is set by default.  This option enables X selections.

Fix is to change the line

    :se guioptions=mr

to

    :se guioptions=amr

in our /etc/gvimrc file (suse.gvimrc in the package).

Easy enough!

mmj or hvogel, I would be happy to submit the change to autobuild, just let me know.

Danke!
Comment 11 Robert Love 2006-02-02 19:17:28 UTC
Created attachment 66249 [details]
Fix for bug

Fixes our suse.gvimrc file.
Comment 12 Marcus Schaefer 2006-02-02 20:04:24 UTC
>Since multiple people are seeing this bug, and it is a pretty bad bug, it
>needs to be fixed, not thrown aside.

This is true, and I'm sorry for not feeling responsible for gvim. mmj started
its business trip and people are starting to reassign his bugs to others.
Within this one I checked the implementation of the xselection because this is
the interface every X application implementing a selection is using and
there is no bug as a I said and your fix proved it. So check it in :-)

We have several severe X problems currently which doesn't give us time to
debug single applications like gvim. That's why I set it to later. It
wasn't my intention to offend anybody but if your X base system doesn't
work you even wouldn't be able to run gvim, would you ?

I am wondering and must admit that I don't like ironic comments like
"a little good will and a fix is found". but I'm glad there is a new
gvim maintainer


Comment 13 Robert Love 2006-02-02 20:33:53 UTC
I am not the new gvim maintainer.

Nonetheless, I submitted the fix to autobuild.   Bug fixed.