Thursday, October 28, 2010

Fedora 13 Gvim popup pops down unless you hold right mouse down?

Hi there --

I'm using the standard yum installed Gvim on a normal Fedora 13 system
running Gnome.

For whatever reason I quite like the Windows Gvim arrangement where
clicking the right mouse button brings up the paste and select popup
menu - so I have "behave mswin".

However on my latest system this menu pops down unless I keep the
right mouse button held down, i.e. I have to hold, drag and release to
choose a menu option. This is contrary to the normal UI behavior in
Gnome (and I think most modern Windowing systems), where selecting a
menu item can be accompanied by two separate clicks (and releases),
one to popup the menu and one to select the desired menu item.

Is this something I can control via my vimrc? I looked through the
documentation but didn't find anything obvious. Or is it the result of
the build time options of whoever built the gvim install for Fedora
13?

I did gvim --version on an older Fedora system where I don't have this
issue and compared the output with that on my current system and the
only difference in features is that the newer one has +ruby and
+startuptime and the only difference in defined marcos is that the
newer one has -DPERL_USE_SAFE_PUTENV and -DRUBY_VERSION=18.

So can anyone explain the behavior I see?

For reference I include the version info below.

Thanks for your time and help,

/George

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Mar 25 2010 23:22:32)
Included patches: 1-411
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Huge version with GTK2 GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -
ebcdic
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path
+float +folding -footer +fork() +gettext -hangul_input +iconv
+insert_expand
+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds
+localmap
+menu +mksession +modify_fname +mouse +mouseshape +mouse_dec
+mouse_gpm
-mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm
+multi_byte
+multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl
+postscript
+printer +profile +python +quickfix +reltime +rightleft +ruby
+scrollbind
+signs +smartindent -sniff +startuptime +statusline -sun_workshop
+syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo
+termresponse
+textobjects +title +toolbar +user_commands +vertsplit +virtualedit
+visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows
+writebackup
+X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "/etc/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/vim72"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -
pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/
include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/
include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -g -pipe -
Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -
mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -
D_FORTIFY_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -
DPERL_USE_SAFE_PUTENV -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -I/
usr/include/python2.6 -pthread -I/usr/lib64/ruby/1.8/x86_64-linux -
DRUBY_VERSION=18
Linking: gcc -L. -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/
usr/lib64/perl5/CORE -L/usr/local/lib -o vim -pthread -lgtk-
x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -
lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -
lglib-2.0 -lXt -lX11 -lSM -lICE -lselinux -lncurses -lacl -lgpm -
Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/
lib64/perl5/CORE -lperl -lresolv -lutil -lc -L/usr/lib64/python2.6/
config -lpython2.6 -lutil -Xlinker -export-dynamic -lruby -lrt -ldl -
lm

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: