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

Bug 245916

Summary: app-office/openoffice-3.0.0 not using GNOME icons properly
Product: Gentoo Linux Reporter: Andrew Cowie <andrew>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Screenshot of writer with some icons of a different style

Description Andrew Cowie 2008-11-07 01:29:15 UTC
Just built openoffice-3.0.0. Went fine, but in testing I've just noticed that it is not using the GTK and GNOME icon sets.

I realize that OO does funny thing widget and theme wise, but one of the original purposes of openoffice-ximian and the ooo-build patch sets was to get good GNOME integration. Wrong icons in MenuItems does rather stand out.

Given that I have USE="gnome gtk" etc, I'm wondering what might be wrong somewhere, and if there are deeper integration issues that have also failed.

AfC

# emerge --info
Portage 2.2_rc13 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.6.1-r0, 2.6.27-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-glibc2.0
Timestamp of tree: Thu, 06 Nov 2008 11:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-ggdb -O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sound/events /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-ggdb -O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam fbsplash firefox fortran gdbm gif gnome gstreamer gtk hal iconv isdnlog java jpeg libnotify mad midi mikmod mp3 mpeg mudflap ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authz_default authz_owner authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires file_cache filter headers log_config mem_cache mime mime_magic negotiation rewrite setenvif so unique_id userdir vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2008-11-07 23:28:10 UTC
I'm not quite sure that I understand what you are refering to. Is this about the menu entries (in the gnome menu) or about the icons in the applications itself? Also could you please post a screenshot illustrating the concrete problem?
Comment 2 pjv 2008-11-26 10:06:00 UTC
Created attachment 173422 [details]
Screenshot of writer with some icons of a different style

Maybe he was talking about some of the icons wrongly being changed away from the old ximian/tango-ish look&feel? 

In the screenshot, the "spellcheck" icon is clearly different. I think this is a bug, because the icon is correct in Calc. I tried changing it through the toolbar editing feature but the right icon turns out to be too small sized.

Some other icons over the years also have arguably diverged from the clean Ximian/Tango-ish look, like the "new file" and "open file" icons etc.
Comment 3 Andrew Cowie 2008-11-28 01:06:49 UTC
My recollection was that our build of openoffice was properly GNOME integrated. As the second comment points out, this may have been an internal skin or theme engine.

Widgets etc _are_ being drawn correctly (it *is* using GTK at least that far). I don't pretend to know the mechanics they use internally. But certainly the gtk (and on top of that, gnome) stock icons should be used by the app; my filing this bug was largely to record my having suddenly noticed for the first time that that images being used are _not_ from the active (or any) Theme.

I fully recognize that this may not be something you can do anything about. I'm hoping it's just a missing configure option.

AfC
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2008-11-28 07:38:46 UTC
(In reply to comment #3)
> My recollection was that our build of openoffice was properly GNOME integrated.
> As the second comment points out, this may have been an internal skin or theme
> engine.
> 
> Widgets etc _are_ being drawn correctly (it *is* using GTK at least that far).
> I don't pretend to know the mechanics they use internally. But certainly the
> gtk (and on top of that, gnome) stock icons should be used by the app; my
> filing this bug was largely to record my having suddenly noticed for the first
> time that that images being used are _not_ from the active (or any) Theme.
> 
> I fully recognize that this may not be something you can do anything about. I'm
> hoping it's just a missing configure option.
> 
> AfC
> 

Ah, now I understand what you mean ;) Indeed OOo uses it's own icon sets, there is not "real" integration in the form that it just takes the GNOME icons atm. (which would be difficult anyway as OOo has a need for lots of non-generic icons). Still I agree this would be nice to have, but this is something which has to be handled upstream, so please file a bug at

http://qa.openoffice.org/issue_handling/pre_submission.html