HIME rc doesn't assign QT_IM_MODULE, breaks usage in Qt5 application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
im-config (Debian) |
Fix Released
|
Unknown
|
|||
im-config (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
Yakkety |
Fix Released
|
Medium
|
Gunnar Hjalmarsson |
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 platforminputco
should output:
for IM_CONFIG_MARKER in /usr/lib/
[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/
```
# use immodule when available for Qt5
for IM_CONFIG_MARKER in /usr/lib/
if [ -e $IM_CONFIG_MARKER ]; then
break
fi
done
```
Upstream tracking issue: https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: im-config 0.29-1ubuntu12.3
Uname: Linux 4.8.0-pf5-
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 9 22:15:57 2017
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=zh_TW.UTF-8
SHELL=/bin/bash
SourcePackage: im-config
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in im-config (Debian): | |
status: | Unknown → Fix Released |
no longer affects: | ubuntu-docs (Ubuntu Yakkety) |
no longer affects: | ubuntu-docs (Ubuntu Xenial) |
no longer affects: | ubuntu-docs (Ubuntu) |
Changed in im-config (Ubuntu Yakkety): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
status: | Triaged → Fix Committed |
Changed in im-config (Ubuntu Xenial): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → Medium |
status: | New → In Progress |
Thanks for your report. This has been fixed in the development release (zesty), but remains to be fixed in xenial and yakkety.