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) |
Undecided
|
Unassigned | ||
| Xenial |
Medium
|
Gunnar Hjalmarsson | ||
| Yakkety |
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)
Gunnar Hjalmarsson (gunnarhj) wrote : | #2 |
Changed in im-config (Ubuntu): | |
status: | New → Fix Released |
Changed in im-config (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
status: | New → Triaged |
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 |
Hello 林博仁, or anyone else affected,
Accepted im-config into yakkety-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
tags: | added: verification-needed |
Gunnar Hjalmarsson (gunnarhj) wrote : | #5 |
I installed im-config 0.29-1ubuntu16.2 from yakkety-proposed and verified the test case.
tags: |
added: verification-done-yakkety removed: verification-needed |
Brian Murray (brian-murray) wrote : | #6 |
I've sponsored this for Xenial.
Brian Murray (brian-murray) wrote : | #7 |
Hello 林博仁, or anyone else affected,
Accepted im-config into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
Changed in im-config (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed |
Gunnar Hjalmarsson (gunnarhj) wrote : | #8 |
I installed im-config 0.29-1ubuntu12.4 from xenial-proposed and verified the test case.
Thanks Brian!
tags: |
added: verification-done-xenial removed: verification-needed |
Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package im-config - 0.29-1ubuntu12.4
---------------
im-config (0.29-1ubuntu12.4) xenial-proposed; urgency=medium
* debian/
- Fix hime qt5 immodule (LP: #1655036).
-- Gunnar Hjalmarsson <email address hidden> Fri, 03 Feb 2017 14:35:00 +0100
Changed in im-config (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
Adam Conrad (adconrad) wrote : Update Released | #10 |
The verification of the Stable Release Update for im-config has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package im-config - 0.29-1ubuntu16.2
---------------
im-config (0.29-1ubuntu16.2) yakkety-proposed; urgency=medium
* debian/
- Fix hime qt5 immodule (LP: #1655036).
-- Gunnar Hjalmarsson <email address hidden> Wed, 01 Feb 2017 00:07:00 +0100
Changed in im-config (Ubuntu Yakkety): | |
status: | Fix Committed → Fix Released |
Thanks for your report. This has been fixed in the development release (zesty), but remains to be fixed in xenial and yakkety.