** Description changed: + [Impact] + + Qt5 support for hime is missing. Fix uploaded to yakkety queue; xenial + patch attached. + + [Test Case] + + After the change, this command: + + grep platforminputcontexts /usr/share/im-config/data/25_hime.rc + + should output: + + for IM_CONFIG_MARKER in /usr/lib/*/qt5/plugins/platforminputcontexts/im- + hime.so ; do + + [Regression Potential] + + None. + + [Original description] + Currently(in Ubuntu 16.04, may affect other releases) im-config provides a rc for hime input method that doesn't assign QT_IM_MODULE, rendering Qt5-based applications including but not limited to, ReText unable to use input method. NOTE: hime currently provides Qt5 immodule via hime-qt5-immodule package ## Patch & Workaround ## insert the following code in /usr/share/im-config/data/25_hime.rc's "if [ "$IM_CONFIG_PHASE" = 1 ]" section, then restart X session ``` # use immodule when available for Qt5 for IM_CONFIG_MARKER in /usr/lib/*/qt5/plugins/platforminputcontexts/im-hime.so \ - /usr/lib/qt5/plugins/platforminputcontexts/im-hime.so ; do - if [ -e $IM_CONFIG_MARKER ]; then - QT_IM_MODULE=hime - break - fi + /usr/lib/qt5/plugins/platforminputcontexts/im-hime.so ; do + if [ -e $IM_CONFIG_MARKER ]; then + QT_IM_MODULE=hime + break + fi done ``` Upstream tracking issue: https://github.com/hime-ime/hime/issues/558 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: im-config 0.29-1ubuntu12.3 Uname: Linux 4.8.0-pf5-ubuntu-taiwan-autodetected-optimized x86_64 ApportVersion: 2.20.1-0ubuntu2.4 Architecture: amd64 CurrentDesktop: Unity Date: Mon Jan 9 22:15:57 2017 PackageArchitecture: all ProcEnviron: - LANGUAGE=zh_TW:zh_HK:zh - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=zh_TW.UTF-8 - SHELL=/bin/bash + LANGUAGE=zh_TW:zh_HK:zh + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=zh_TW.UTF-8 + SHELL=/bin/bash SourcePackage: im-config UpgradeStatus: No upgrade log present (probably fresh install)
** Patch added: "hime_xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1655036/+attachment/4811582/+files/hime_xenial.debdiff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to im-config in Ubuntu. https://bugs.launchpad.net/bugs/1655036 Title: HIME rc doesn't assign QT_IM_MODULE, breaks usage in Qt5 application Status in im-config package in Ubuntu: Fix Released Status in im-config source package in Xenial: In Progress Status in im-config source package in Yakkety: Fix Committed Status in im-config package in Debian: Fix Released Bug description: [Impact] Qt5 support for hime is missing. Fix uploaded to yakkety queue; xenial patch attached. [Test Case] After the change, this command: grep platforminputcontexts /usr/share/im-config/data/25_hime.rc should output: for IM_CONFIG_MARKER in /usr/lib/*/qt5/plugins/platforminputcontexts /im-hime.so ; do [Regression Potential] None. [Original description] Currently(in Ubuntu 16.04, may affect other releases) im-config provides a rc for hime input method that doesn't assign QT_IM_MODULE, rendering Qt5-based applications including but not limited to, ReText unable to use input method. NOTE: hime currently provides Qt5 immodule via hime-qt5-immodule package ## Patch & Workaround ## insert the following code in /usr/share/im-config/data/25_hime.rc's "if [ "$IM_CONFIG_PHASE" = 1 ]" section, then restart X session ``` # use immodule when available for Qt5 for IM_CONFIG_MARKER in /usr/lib/*/qt5/plugins/platforminputcontexts/im-hime.so \ /usr/lib/qt5/plugins/platforminputcontexts/im-hime.so ; do if [ -e $IM_CONFIG_MARKER ]; then QT_IM_MODULE=hime break fi done ``` Upstream tracking issue: https://github.com/hime-ime/hime/issues/558 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: im-config 0.29-1ubuntu12.3 Uname: Linux 4.8.0-pf5-ubuntu-taiwan-autodetected-optimized x86_64 ApportVersion: 2.20.1-0ubuntu2.4 Architecture: amd64 CurrentDesktop: Unity Date: Mon Jan 9 22:15:57 2017 PackageArchitecture: all ProcEnviron: LANGUAGE=zh_TW:zh_HK:zh PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=zh_TW.UTF-8 SHELL=/bin/bash SourcePackage: im-config UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1655036/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp