After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685514 - Don't set QT_IM_MODULE nor XMODIFIERS if ibus-daemon is not installed
Don't set QT_IM_MODULE nor XMODIFIERS if ibus-daemon is not installed
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-04 18:48 UTC by Weng Xuetian
Modified: 2012-10-05 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main: Don't set Input Methods envvar without IBus (1.60 KB, patch)
2012-10-05 12:45 UTC, Bastien Nocera
committed Details | Review

Description Weng Xuetian 2012-10-04 18:48:48 UTC
Well, for qt and xim things may not change dynamically, but this is what I think mostly workable for other im.

Detected ibus-daemon installed or not here is simple and may not have much side effect for default setup.

http://git.gnome.org/browse/gnome-settings-daemon/tree/gnome-settings-daemon/main.c#n240
Comment 1 Bastien Nocera 2012-10-05 12:45:22 UTC
Created attachment 225876 [details] [review]
main: Don't set Input Methods envvar without IBus

If IBus isn't installed, don't set the QT_IM_MODULE or XMODIFIERS
envvars, as that breaks other Input Methods.

As we advice people who don't want to use IBus to just uninstall
ibus itself, we should handle being built with IBus support but run-time
support not being there.
Comment 2 Rui Matos 2012-10-05 12:49:04 UTC
Review of attachment 225876 [details] [review]:

Looks fine.
Comment 3 Bastien Nocera 2012-10-05 13:44:24 UTC
Attachment 225876 [details] pushed as a4503d3 - main: Don't set Input Methods envvar without IBus