Package: src:im-config Severity: wishlist Tags: patch This patch alters the way of launching input methods during Xsession startup, as stated in the patch description:
Traditionally im-swich and im-config start input method framework in parallel with Xsession startup, this leaves modern input method frameworks utilizing technologies like dbus in an embrassing place, i.e. it's difficult to obtain the dbus session address when the input method framework is not initialized after dbus. This patch alters the way of starting by introducing im-launch, which is used to perform all necessary actions during X session startup in a serial manner, ensuring all needed facilities are ready before input method framework gets launched. Implementation detail here is to change the $STARTUP variable when Xsession is sourcing files from /etc/X11/Xsession.d/, which is the way that used by DBus. By running in this way we can ensure that input methods are always started when the DBus session for the very X session is available, so input methods can obtain the address and connect to it reliably. It was almost a probability problems in the traditional way and if the input method framework starts too quick it will trigger DBus auto-launch, which leaves functions like IM Modules not working properly. The patch has been tested thoroughly to make sure its free from undesired side effects, the only thing to be mentioned is that an im-launch process will be left running for every X session, which is necessarily what dbus-launch does. -- Regards, Aron Xu
0001-Alter-the-way-of-starting-during-Xsession-startup.patch
Description: Binary data