Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286681 - Icons disappear in compiled app-office/openoffice-3.1.1
Summary: Icons disappear in compiled app-office/openoffice-3.1.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-27 18:14 UTC by Maxi Combina
Modified: 2011-03-13 20:48 UTC (History)
2 users (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 Maxi Combina 2009-09-27 18:14:30 UTC
Emerging app-office/openoffice-3.1.1 results in the following behavior: when using some ooffice application (oowriter, oocalc, etc), the icons from the toolbars disappear when the mouse is over it. Not only the icon under the mouse cursor disappears, but some of its neighbors.

My normal CFLAGS are "-pipe -O2 -march=prescott -fomit-frame-pointer". I also tried using some more relaxed CFLAGS (-pipe -O1 -march=prescott), but the problem persists.
I have CXXFLAGS="${CFLAGS}" in /etc/make.conf, so I assume that lowering CFLAGS also impacted in CXXFLAGS.

I have _never_ had this problem with previous versions of openoffice. I am currently using openoffice-bin, which behaves OK.



Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
2. grab a cup of coffe. and a second one. and a third one :)
3. launch any ooffice app, for instance, oowriter

Actual Results:  
Hovering the mouse over the toolbar, causes the icons to disappear.

Expected Results:  
Icons not disappearing!

# emerge --info
Portage 2.2_rc42 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================                                            
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1       
Timestamp of tree: Sun, 27 Sep 2009 09:45:02 +0000                                                           
ccache version 2.4 [disabled]                                                                                
app-shells/bash:     4.0_p28                                                                                 
dev-java/java-config: 2.1.8-r1                                                                               
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1                                                               
dev-python/pycrypto: 2.0.1-r8                                                                                
dev-util/ccache:     2.4-r7                                                                                  
dev-util/cmake:      2.6.4                                                                                   
sys-apps/baselayout: 2.0.1                                                                                   
sys-apps/openrc:     0.4.3-r3                                                                                
sys-apps/sandbox:    1.6-r2                                                                                  
sys-devel/autoconf:  2.13, 2.63-r1                                                                           
sys-devel/automake:  1.5, 1.6.3, 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.1                                                                                  
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.27-r2                                                                               
ACCEPT_KEYWORDS="x86"                                                                                        
CBUILD="i686-pc-linux-gnu"                                                                                   
CFLAGS="-pipe -O2 -march=prescott -fomit-frame-pointer"                                                      
CHOST="i686-pc-linux-gnu"                                                                                    
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"              
CXXFLAGS="-pipe -O2 -march=prescott -fomit-frame-pointer"                                                                                            
DISTDIR="/usr/portage/distfiles"                                                                                                                     
FEATURES="assume-digests collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                                                
GENTOO_MIRRORS="http://distfiles.gentoo.org                 http://distro.ibiblio.org/pub/linux/distributions/gentoo            http://gentoo.cites.uiuc.edu/pub/gentoo/             ftp://mirrors.64hosting.com/pub/mirrors/gentoo/                 ftp://mirror.iawnet.sandia.gov/pub/gentoo/"          
LANG="en_US.UTF-8"                                                                                                                                   
LC_ALL="en_US.UTF-8"                                                                                                                                 
LDFLAGS="-Wl,-O3 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="ca en es pt it en_US"
MAKEOPTS="-j2 "
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="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx aim alsa amarok amr amrnb amrwb arts artswrappersuid asf audiofile avahi beagle berkdb bidi bluetooth branding bzip2 cairo cdda cdr chm cjk clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbox2 dbus dga djvu dlloader doc dri dts dv dvb dvd dvdr dvdread dvi dxr3 effects emboss encode esd exif exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic fortran freetype gdbm geoip gif gimpprint git glitz glut gnokii gnome gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hfs iconv icq ieee1394 imap inkjar ipod ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg jpeg2k kde kde4 kdeenablefinal kdehiddenvisibility kerberos kipi krb4 lame lcd ldap libao libcaca libclamav libnotify live livecd lj lm_sensors logitech lzo mad mail matroska mikmod mjpeg mmx mng modules mono mouse moznocompose moznoirc moznomail mp3 mp3rtp mp4 mpeg mplayer msn mudflap musepack musicbrainz ncurses network new nls nptl nptlonly nsplugin ntfs nvidia offensive ogg ole openal openexr opengl openmp pam pascal pcmcia pcre pda pdf perl phonon plugin png povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar raw rdesktop readline reflection reiserfs rss ruby samba scanner sdl session skins slp smp sms sndfile speech speex spell spl spreadsheet ssl startup-notification stream streams subversion svg sysfs tcpd theora thunar tiff truetype udev unicode usb v4l v4l2 vcd visualization voice vorbis weather webservices wifi win32codecs winbind wmf wxwindows x264 x86 xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zeroconf 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 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 acecad aiptek digitaledge fpit hyperpen jamstudio joystick magellan  mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca en es pt it en_US" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabien MAUREL 2009-10-07 12:20:46 UTC
I have the same bug

emerge --info

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31.2 x86_64)
=================================================================                         
System uname: Linux-2.6.31.2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 07 Oct 2009 11:00:01 +0000                                               
app-shells/bash:     4.0_p33                                                                     
dev-java/java-config: 2.1.9-r1                                                                   
dev-lang/python:     2.6.3, 3.1.1-r1                                                             
dev-util/cmake:      2.6.4-r3                                                                    
sys-apps/baselayout: 2.0.1                                                                       
sys-apps/openrc:     0.4.3-r3                                                                    
sys-apps/sandbox:    2.1                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                               
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                            
sys-devel/binutils:  2.19.1-r1                                                                   
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse3 -msse2 -msse"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j6"
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="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl additions alsa amd64 berkdb bittorrent bzip2 cairo cddb cli consolekit cracklib crypt cuda cups dbus dri dts dvb dvd dvdr dvdread embedded encode fat ffmpeg flac fortran gdbm geoip gif gnome gpm gtk hal httpd iconv imagemagick ipv6 isdnlog jpeg kde lame libnotify libv4l2 live lm_sensors logitech-mouse mad matroska melt mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap multilib mysql ncurses nepomuk nfs nls nptl nptlonly nsplugin ntfs objc ogg openexr opengl openmp optimisememory pam pcre pdf perl plasma png policykit postgres pppd python qt3support qt4 readline reflection reiserfs rtsp scanner sdl semantic-desktop session smp spl sql sqlite sse sse2 ssl ssse3 stream subtitles svg sysfs tcpd theora threads thumbnail tiff truetype tv unicode usb v4l v4l2 vcd visualization vorbis webkit wma x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid yahoo 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Chris Ribble 2009-10-12 20:06:44 UTC
I can reproduce this exact error as long as I launch oowriter from a shortcut in KDE or by double-clicking on a file.

If I open oowriter from the command line, the icons do not disappear.

This seems to be some sort of KDE integration problem caused by kde 4.3.1 going stable, as this did not start happening until I started using kde 4.3.1.
Comment 3 Maxi Combina 2009-10-13 13:25:18 UTC
(In reply to comment #2)
> I can reproduce this exact error as long as I launch oowriter from a shortcut
> in KDE or by double-clicking on a file.
> 
> If I open oowriter from the command line, the icons do not disappear.
> 
> This seems to be some sort of KDE integration problem caused by kde 4.3.1 going
> stable, as this did not start happening until I started using kde 4.3.1.
> 

This is not my case. I can *always* reproduce the error.
Comment 4 Sylvain Demers 2009-10-16 12:14:35 UTC
I had the same issue (plus more, such as bug 242846). I'm using umask 077 (in case that's relevant) and I noticed that a lot of files in /usr/lib64/openoffice (and sub-directories) were readable only by root. The following commands solved my problems:

find /usr/lib64/openoffice/ -type d -exec chmod 755 \{\} \;
find /usr/lib64/openoffice/ -type f -exec chmod o+r \{\} \;
Comment 5 Kevin Wilson 2009-10-25 04:19:58 UTC
I saw this behavior and determined it to be an interaction between kde4 and openoffice, as openoffice worked as expected when started from an xterm in X with nothing else running. After a little searching, I found a solution here:

http://forum.kde.org/viewtopic.php?f=22&t=27199

Put the following line in in ~/.kde4/env/gtk-qt-engine.rc.sh:
export SAL_GTK_USE_PIXMAPPAINT=1

Can someone else confirm that this fixes the bug? My machine is x86.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2011-02-13 17:01:53 UTC
Please try with app-office/libreoffice instead and provide feedback if this bug is still there for you.