After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588115 - gvim clipboard broken
gvim clipboard broken
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
csw
Depends on:
Blocks:
 
 
Reported: 2009-07-08 20:49 UTC by Matthias Clasen
Modified: 2009-07-10 17:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2009-07-08 20:49:51 UTC
Filed against Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=510320

Description of problem:

Apparently gvim cannot communicate with any selections properly anymore
(cannot import them or create them).

Version-Release number of selected component (if applicable):

vim-X11-7.2.148-1.fc11.x86_64  <===== not changed since F11!

Components changed today:
libX11-1.2.1-3.fc12.x86_64
glib2-2.21.3-1.fc12.x86_64 --- unlikely, but...
gtk2-2.17.3-1.fc12.x86_64

xorg-x11-server-Xorg was updated too, but I ran over TCP to a different
display, same story. So that's not it.

How reproducible:

100%

Steps to Reproduce:
1. open gvim
2. create a selection CLIPBOARD somewhere else
3. optional: verify with  xclip -o -selection clipboard
4. go back to gvim and do "+p

Actual results:

No paste

Expected results:

Paste

Additional info:

Forget complains about the "CRITICAL **: gtk_form_set_static_gravity:
assertion `static_gravity_supported' failed". This one is a bit problem,
virtually makes gvim useless.
Comment 1 Pete Zaitcev 2009-07-08 21:47:38 UTC
The weird thing is how gvim is the only application affected. gedit, opera,
firefox, gnome-terminal are all ok. However, luckily there was very small
set of packages updated (listed above). It's definitely in GTK somewhere...
Comment 2 Alexander Larsson 2009-07-10 17:42:24 UTC
gvim was passing in non-native GdkWindow as selection requestors. 
Fixed in git master by ensuring such use creates native windows.