Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264892

Summary: x11-themes/gtk-engines-qt-0.8* breaks with x11-libs/gtk+-2.14*
Product: Gentoo Linux Reporter: Kevin Lyles <kevinlyles>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin Lyles 2009-04-04 16:19:02 UTC
Upgrading to gtk+-2.14 breaks gtk-engines-qt.  I think the only real problem is certain icons not loading (e.g., the firefox icon, along with the icons fro refresh, stop, and home), and most applications still work, although the toolbars get a bit confusing.  Meld, however, breaks completely and crashes with the following message:

~ $ meld
QSettings: failed to open file '/usr/qt/3/etc/settings/qtrc'
QSettings: failed to open file '/usr/qt/3/etc/settings/qtrc'
Traceback (most recent call last):
  File "/usr/bin/meld", line 76, in <module>
    import meldapp
  File "/usr/lib/meld/meldapp.py", line 35, in <module>
    import vcview
  File "/usr/lib/meld/vcview.py", line 24, in <module>
    import tree
  File "/usr/lib/meld/tree.py", line 31, in <module>
    pixbuf_folder = load("tree-folder-normal.png", 20)
  File "/usr/lib/meld/tree.py", line 30, in <lambda>
    load = lambda x,s=14: gnomeglade.load_pixbuf( paths.share_dir("glade2/pixmaps",x), s)
  File "/usr/lib/meld/gnomeglade.py", line 81, in load_pixbuf
    image = image.get_pixbuf()
ValueError: image should be a GdkPixbuf or empty
~ $

Note that the first two lines are just noise that happens with every qt app and aren't relevant to this bug.

Reproducible: Always

Steps to Reproduce:
1. Install gtk-engines-qt and set up kde to use it for gtk apps
2. Upgrade to gtk+-2.14*
3. Run meld, firefox, or (probably) your gtk app of choice


Actual Results:  
Missing icons, or in meld's case a crash before the app even starts

Expected Results:  
The programs work as they did with gtk+-2.12*

To get around this issue, I had to downgrade to gtk+-2.12*.  This involved putting the following items in package.mask and "updating" world:

=x11-libs/gtk+-2.14*
=dev-python/pygtk-2.14*
=media-gfx/gimp-2.6*
=app-arch/file-roller-2.24*
=gnome-base/libgnomeui-2.24*
=gnome-base/gail-1000
=dev-python/pygobject-2.16*

There may be more or less required depending on the gtk apps you have installed, but that should be a good start.  The following packages were downgraded/reinstalled with my update:

     Sat Apr  4 02:54:00 2009 >>> x11-libs/gtk+-2.12.11
     Sat Apr  4 02:54:22 2009 >>> x11-themes/gtk-engines-qt-0.8-r1
     Sat Apr  4 03:00:44 2009 >>> dev-python/libgnomecanvas-python-2.22.3
     Sat Apr  4 03:11:57 2009 >>> gnome-extra/gtkhtml-2.11.1
     Sat Apr  4 03:13:24 2009 >>> gnome-base/gail-1.22.3
     Sat Apr  4 03:14:02 2009 >>> dev-python/pygobject-2.14.2
     Sat Apr  4 03:15:54 2009 >>> dev-python/pygtk-2.12.1-r2
     Sat Apr  4 03:36:13 2009 >>> media-gfx/gimp-2.4.6
     Sat Apr  4 03:41:01 2009 >>> gnome-base/libgnomeui-2.22.1
     Sat Apr  4 03:41:45 2009 >>> app-arch/file-roller-2.22.4

Reinstalling gtk-engines-qt may not be strictly required, but I was sick of the issue by then, and decided to just recompile it and be done with it.
Comment 1 Kevin Lyles 2009-04-04 16:21:44 UTC
I almost forgot: here's my emerge --info:

~ $ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.0
Timestamp of tree: Sat, 04 Apr 2009 10:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/armagetron /usr/portage/local/custom"
USE="3dnow 3dnowext 7zip X a52 aac acct acl acpi aim akode alsa amr animgif ao arts audiofile avahi bash-completion bluetooth boost branding bzip2 calendar caps cdaudio cddb cdparanoia cdr chardet chroot cjk cleartype cli contrib cracklib crypt cscope css cups curl cvs d dbus device-mapper dga disk-partition diskio divx doc dri dvd dvdr dvdread elf emboss encode epydoc esd evo exif fam fastcgi fat ffmpeg fftw firefox flac fmod font-server fontforge foomaticdb fortran gcj gd gdbm gif gimp glibc-omitfp glitz glsa glut gmedia gmp gnutls gpm gs gstreamer gtk gtkhtml hal hbci hddtemp iconv icq id3 idn imagemagick imlib jabber jadetex java java5 java6 jbig jpeg jpeg2k kde kpathsea kqemu lame laptop latex lcms libnotify libsamplerate lm_sensors logrotate lyrics lzo mad matroska md5sum md5sum-external mdnsresponder-compat mfd-rewrites midi mikmod mjpeg mmap mmx mmxext mng motif moznocompose moznoirc moznomail mp3 mpd mpeg msn mudflap multiuser music musicbrainz nano-syntax nas ncurses network network-cron nls nowin nptl nptlonly nsplugin ntfs nvidia objc ocaml offensive ofx ogg openal opengl openmp pam pcre pdf perl pic png posix ppds prediction pulseaudio qt-static qt3 qt3support qt4 quicktime rdesktop readline realmedia reflection reiserfs restrict-javascript rtc scenarios schroedinger science screen sdl session slp smp snmp spell spl sqlite srt sse sse2 ssh ssl startup-notification stream subtitles subversion svg symlink sysfs syslog sysvipc tcpd tex4ht theora threads thunderbird tiff tk toolbar transcode truetype unicode usb userlocales utempter vcd videos vidix vim-syntax vim-with-x vnc voice vorbis win32codecs winbind wma wmf wmp x86 xcb xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="emu10k1" 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-08 23:15:56 UTC
please don't select "component" if you don't know what it does, your bugs will have a better change of being handled quickly.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 11:08:26 UTC
gtk-engines-qt-0.8 has been masked for removal with KDE3, won't be fixed.