Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230213 - mail-client/balsa-2.3.22 does not display some icons in toolbar
Summary: mail-client/balsa-2.3.22 does not display some icons in toolbar
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 15:58 UTC by Róbert Čerňanský
Modified: 2009-08-23 20:47 UTC (History)
1 user (show)

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 Róbert Čerňanský 2008-06-30 15:58:13 UTC
Some icons in toolbar are missing in mail-client/balsa-2.3.22. Just text is displayed, no picture.

In main window, icons for following toolbar buttons are missing: Check, Compose, Continue, Reply, Forward. Some icons are missing also in other windows (Compose window, Message window).

Also in treeview, where list of folders is displayed the icons are missing for 'Inbox' and 'Outbox'. When hovering the mouse over these two entries, following messages are printed on console:

(balsa:10574): Gtk-WARNING **: could not load image: Icon 'balsa_mbox_out' not present in theme
(balsa:10574): Gtk-WARNING **: could not load image: Icon 'balsa_mbox_in' not present in theme

Changing the gtk theme to default (or completely removing ~/.gtkrc*) did not help.

# emerge -pv mail-client/balsa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] mail-client/balsa-2.3.22  USE="crypt gtkhtml kerberos ldap pcre ssl xface -debug -doc -gtkspell -libnotify -rubrica -sqlite" 0 kB 


# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sun, 29 Jun 2008 18:33:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -fweb -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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -fweb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.gentoo.sk http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en sk cs ru"
MAKEOPTS="-j2"
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/portage/local/layman/sunrise /usr/portage/local/layman/berkano /usr/portage/local/layman/latest-released /opt/reserve/install/portage/hs /opt/reserve/install/portage/xmms-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi adplug ads aim alsa amd64 amr amrnb amrwb audacious bash-completion bdf berkdb blender-game bluetooth bzip2 bzlib cairo caps cddb cdparanoia cdr cli cracklib crypt css cups daemon dbus dga divx djvu dri dssi dts dv dvd dvdnav dvdr dvdread editor edl emacs emboss enblend encode ethereal evo exif expat fbcon fbcondecor ffmpeg firefox flac flash font-server fontconfig foomaticdb fortran ftp gdbm gif gimp gimpprint glade gmedia gnutella gnutls gphoto2 gpm gs gtk gtkhtml guile gzip-el hal hdri iconv icq id3tag imagemagick imap imlib ipv6 isdnlog jabber jack jbig jpeg jpeg2k kerberos ladcca ladspa lcms ldap leim libcaca lirc live lm_sensors mad maildir matroska memlimit midi mikmod mime mjpeg mmx mmxext mng modplug mono motif mozsvg mp2 mp3 mp4 mpeg mplayer msn mtp mudflap mule musepack musicbrainz ncurses nemesi network networking new-login nls nocd nowin nptl nptlonly nsplugin nvidia ofx ogg openal openexr opengl openmp oscar oss pam pcre pda pdf perl png pnp portaudio ppds pppd python qt3 qt3support qt4 quicktime quotes rar readline realmedia recode reflection restrict-javascript roe rtc samba sasl sdl server session shout sid sift snmp sockets sound sox speex spell spl srt sse sse2 ssl subtitles svg syslog tabs tcl tcltk tcpd teamarena themes theora threads tiff tk toolkit-scroll-bars truetype tta udev unicode usb userlocales vcd vorbis wavpack wma wmf wmp wxgtk1 wxwindows x264 xcomposite xface xft xiph xml xorg xosd xpm xscreensaver xv xvid xvmc yahoo zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 sk cs ru" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-30 20:36:53 UTC
probably balsa theme handling is bad.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-26 23:53:29 UTC
could you try 2.3.25 ?
Comment 3 Róbert Čerňanský 2008-07-28 19:16:13 UTC
Same with 2.3.25. :-(
Comment 4 Jack 2008-08-12 23:26:35 UTC
I've had the same problem for the past several versions. Sometimes running the gnome-theme-manager brings them back, but a reboot seems to lose them again.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-12 23:32:51 UTC
gnome-appearance-properties starts some daemon that takes care of theming so it might be that your .gtkrc is missing informations needed by balsa to properly should its icons. What happens if you use something like gtk-theme-switch ?
Comment 6 Jack 2008-08-12 23:58:48 UTC
I run KDE, not gnome, so I am missing many gnome tools.  I can't find gtk-theme-switch (what package?) and I don't have gnome-control-center, which has gnome-theme-manager.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-21 23:20:22 UTC
could you install gnome-control-center and run its theme appearance capplet and see what happens ?
Comment 8 Jack 2008-11-22 00:47:59 UTC
Interesting you make that suggestion.  I did that a while ago, and when I run it, even IT (gnome-control-center) seems to be missing icons.  (It shows generic page looking icons with a red x  in the middle.)  As soon as I select "appearance" the icons all appear, and stay OK, when I close the appearance window.  Balsa requires a restart to show the icons again.

I now don't believe this is really a Balsa bug, but something deeper in the gnome icon handling, but I'm still at a loss where else to look.  In an earlier comment you suggest maybe a problem in my .gtkrc.  However, I only have a (very old) .gtkrc-1.2-gnome2.  It may well be I'm missing something because I don't have a full gnome install - only those pieces necessary for a few particular programs I like.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-22 10:08:34 UTC
.gtkrc-1.2-gnome2 is the file created by g-s-d. If you don't want it on your system (which I can understand), you should create a .gtkrc-2.0 which contains an entry with gtk-icon-theme-name and an include to the gtkrc of the theme you wish to see applied to your gtk+ applications.

Example:

gtk-theme-name = "Clearlooks"
gtk-icon-theme-name = "gnome"
include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"

You can probably also use x11-themes/gtk-chtheme or lxde-base/lxappearance or x11-themes/gtk-theme-switch (this one is possibly deprecated) or x11-themes/gtk2_prefs (from bug #101685)

Hope this will work for you. If so I'll probably mark bug #203534 as a duplicate of this one since the guy is also using kde.
Comment 10 Róbert Čerňanský 2008-11-22 12:42:27 UTC
Just adding the line

gtk-icon-theme-name = "gnome"

to ~/.gtkrc-2.0 "fixes" the issue and icons are visible. So this can be a workaround until balsa is fixed properly.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-22 13:50:16 UTC
actually this is a not a fix but the only solution for people not using gnome bits afaik unless you use one of the said apps to write it for you.

Thanks for testing.
Comment 12 Róbert Čerňanský 2008-11-22 14:19:43 UTC
Right, it is not fix, so do not close a bug in such cases, please. I'm reopening it.

One of us should report this bug to upstream and paste link to it here. Once it will be solved in upstream and ebuild with fixed version in tree, then we close this bug.

I will report it to upstream in a week if nobody else does.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-22 14:27:14 UTC
please report then, I'm pretty sure this will be closed wontfix because this is a user configuration issue but I might be wrong after all.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-29 20:19:14 UTC
any updates here ?
Comment 15 Róbert Čerňanský 2008-11-30 12:01:13 UTC
Reported to upstream: http://bugzilla.gnome.org/show_bug.cgi?id=562752
Comment 16 Jack 2008-11-30 14:19:58 UTC
I can finally confirm that creating a .gtkrc-2.0 with the single line 'gtk-icon-theme-name = "gnome"' does seem to fix the problem for me.
Comment 17 Jack 2009-05-29 16:28:50 UTC
Still present in 2.3.28, and probably in 2.4.0.  The balsa team has tried to use gtk-rc-parse-file or gtk-rc-parse-text, but they don't work, although it's not at all clear why not.  Is it possible (and reasonable) for the ebuild to create a .gtkrc-2.0 file only if one does not exist?
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-29 16:42:18 UTC
(In reply to comment #17)
> Still present in 2.3.28, and probably in 2.4.0.  The balsa team has tried to
> use gtk-rc-parse-file or gtk-rc-parse-text, but they don't work, although it's
> not at all clear why not.  Is it possible (and reasonable) for the ebuild to
> create a .gtkrc-2.0 file only if one does not exist?
> 

no this is not appropriate, the PM does not touch users directories. Please remember the very same issue was fixed in pitivi so there is no way a non-upstreamable solution would be accepted at this point.
Comment 19 Jack 2009-05-29 17:12:18 UTC
I accept that touching users' directories is not acceptable.  However, the pitiv solution points to Comment #9 in this bug, so it looks to me more like a workaround than a real fix, unless I missed something.  I really wish I could figure out why gtk-rc-parse-text doesn't seem to work.
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-31 09:09:24 UTC
I was actually refering to the upstream fix: 
http://bugzilla.gnome.org/show_bug.cgi?id=535374
Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-23 20:47:16 UTC
please work this bug out with upstream as explained in previous comments and reopen when there is something we can do (like including a patch).