Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367061 - app-office/libreoffice - keyboard not working with ibus when using KDE4 integration
Summary: app-office/libreoffice - keyboard not working with ibus when using KDE4 integ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 07:49 UTC by Sven Volkinsfeld
Modified: 2011-07-26 21:27 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 Sven Volkinsfeld 2011-05-13 07:49:46 UTC
Shamelessly copied from https://bugs.freedesktop.org/show_bug.cgi?id=34016

"LibreOffice on KDE4 seems to cause trouble with ibus input. If I run with KDE
integration (by using KDE4 as a desktop environment, or by specifing the
environment variable OOO_FORCE_DESKTOP to "kde4", without quotes), ibus
keyboard events fail (no keyboard input in the input area, no keyboard
shortcuts like CTRL+I). If I run *without* KDE integration (by specifying
OOO_FORCE_DESKTOP to "gnome"), I can type normally and use keyboard shortcuts
properly.

Steps to reproduce:
0. Make sure ibus-daemon is running.
1. Open a terminal and set environment variable OOO_FORCE_DESKTOP to "kde4"
(without quotes).
2. Launch LibreOffice from the command line (i.e. lowriter).
3. Try to use the keyboard.

Actual Results:
Keyboard events are ignored.

Expected Results:
Keyboard should work

Workaround:
Set the environment variable OOO_FORCE_DESKTOP to "gnome" (i.e. in
$HOME/.xprofile)"

Linked downstream at: 
https://bugzilla.novell.com/show_bug.cgi?id=665112

Patch provided by Lubos Lunak
https://bugzilla.novell.com/show_bug.cgi?id=665112#c14

Same Problem on gentoo, app-office/libreoffice-3.3.1 & app-i18n/ibus-1.3.9

emerge --info app-office/libreoffice app-i18n/ibus app-i18n/ibus-anthy app-i18n/ibus-pinyin app-i18n/ibus-qt
Portage 2.1.9.42 (hardened/linux/amd64, gcc-4.4.5, libc-0-r0, 2.6.36-gentoo-r8 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 13 May 2011 05:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
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/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdr cjk cli cracklib crypt cups cxx dbus dri dts dvd dvdr encode exif fam ffmpeg flac gdbm gif gpm hardened iconv ipv6 jpeg justify kde lcms ldap libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png policykit ppds pppd python qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode urandom usb v4l2 vorbis x264 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel-hda" 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-3.3.1 was built with the following:
USE="bash-completion cups dbus kde ldap (multilib) nsplugin opengl (-aqua) -binfilter -debug -eds -gnome -gstreamer -gtk -java (-kdeenablefinal) -odk -templates" LINGUAS="de en -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -dgo -dz -el -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd (-sh) -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"                                                                                    
CFLAGS="-march=native -fomit-frame-pointer -pipe -DGL_GLEXT_PROTOTYPES"
CXXFLAGS="-march=native -fomit-frame-pointer -pipe -DGL_GLEXT_PROTOTYPES"


app-i18n/ibus-1.3.9 was built with the following:
USE="X gconf (multilib) nls python -doc -gtk (-introspection) -vala"


app-i18n/ibus-anthy-1.2.0.20100115 was built with the following:
USE="(multilib) nls"


app-i18n/ibus-pinyin-1.3.11 was built with the following:
USE="(multilib) nls"


app-i18n/ibus-qt-1.3.0 was built with the following:
USE="(multilib) -doc"
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-26 21:27:23 UTC
This is fixed in version 3.3.1 and later -> closing as fixed.