Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235189 - app-editors/gvim-7.2 uses old GTK open file dialog and not the proper one in spite of USE="gnome"
Summary: app-editors/gvim-7.2 uses old GTK open file dialog and not the proper one in ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vim Maintainers
URL: http://the-gay-bar.com/images/gvim-fi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 12:03 UTC by Jürgen Geuter
Modified: 2011-01-26 12:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Geuter 2008-08-19 12:03:28 UTC
The newest gvim version (7.2) does not use the "normal" gtk open file dialog but the very old one even though gvim was build with the "gnome" useflag enabled.
The provided URL shows the wrong file open dialog being opened.

Reproducible: Always

Steps to Reproduce:
1. open gvim-7.2
2. try opening a file

Actual Results:  
Old gtk-file-open dialog pops up.

Expected Results:  
The proper GNOME file open dialog should appear.

emerge --info:
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Tue, 19 Aug 2008 09:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mneisen.org/"
LANG="en_US"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/cwiid /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac aalib acl acpi administrator aim alsa amarok amazon amd64 ao apache2 applet async audiofile autoipd automount avahi bash-completion berkdb bluetooth bogofilter bonjour branding bzip2 cairo cdb cddb cdparanoia cdr chroot cli colordiff cracklib crypt cscope css cups curl cvs daap dbus device-mapper disk-partition dri dts dvd dvdr dvdread eds emboss encode esd evo exif expat fam fat ffmpeg firefox flac fontconfig fortran fuse gconf gd gdbm gdm gedit geoip gif gimp glade glib gmail gnome gnome-keyring gnutls gpg gphoto2 gpm grub gstreamer gtk gtkhtml gzip hal hdaps hddtemp ibam icons iconv icq id3 id3tag imagemagick imap imlib imlib2 ipod ipv6 isdnlog jabber javascript john jpeg jpeg2k json kerberos lame laptop latex libgda libnotify libwww lm_sensors loop-aes lvm mad maildir matroska mdnsresponder-compat midi mikmod mime mjpeg mmap mmx mng mono mozdevelop mp3 mp4 mpeg mpeg2 mplayer msn mudflap multilib music musicbrainz mysql mysqli nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin ntfs ntp obex offensive ogg ogg123 openal opengl openid openmp oscar pam pango parted pcmcia pcre pdf pdo perl php pidgin pixmaps plugins png pop posix postgres postscript ppds pppd pulseaudio python pyzord qemu qt3 qt3support qt4 query-browser quicktime rar rdesktop readline reflection reiserfs rss samba sdl session sharedmem silc simplexml smp sndfile sockets spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification stream subversion svg sysfs syslog t1lib taglib tagwriting talkfilters tcpd tetex theora threads tidy tiff totem tracker transcode truetype twolame type1 unicode unzip upnp usb vcd vcdx vhosts vim-syntax vnc vorbis wav webdav webdav-neon wifi wmf wxwindows x264 xattr xcb xcf xcomposite xft xine xinerama xml xmlrpc xorg xosd xpm xrandr xscreensaver xulrunner xv xvid yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

gvim useflags:
Installed versions:  7.2(01:58:30 PM 08/19/2008)(acl bash-completion cscope gnome gpm gtk nls perl python -aqua -motif -netbeans -nextaw -ruby)
Comment 1 Jürgen Geuter 2008-09-21 11:53:49 UTC
Still the same problem with gvim-7.2.021
Comment 2 Christian Pötzsch 2008-10-29 15:17:03 UTC
Same here. Has someone an idea how to get the old behavior back?
Comment 3 Xitij Ritesh Patel 2008-12-04 20:43:54 UTC
(In reply to comment #2)
> Same here. Has someone an idea how to get the old behavior back?

According to an IRC conversation with jamessan on #vim...

(03:35:41 PM) jamessan: HorizonXP: it's not a Gentoo bug. the new Gtk dialogs would cause Vim to excessively write out the "Recently Used files" file (like every time you pressed a key), so Bram switched back to the old dialogs

So the only solution is to revert to a pre-7.2 version. Or, wait until it's fixed upstream.
Comment 4 Xitij Ritesh Patel 2008-12-04 20:48:49 UTC
Sorry, wish I could edit my comment, but here's the link to Bram's patch:
http://ftp.vim.org/pub/vim/unstable/patches/7.2b/7.2b.026