Cannot enable IM inside Qt5 apps including webapp-container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Undecided
|
Unassigned | ||
im-config (Debian) |
Fix Released
|
Unknown
|
|||
im-config (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
debdiff for utopic:
https:/
SRU debdiff for trusty:
https:/
[Impact]
* Cannot input languages which need IM(ibus, fcitx) in Qt5 apps, e.g. webapp-container, webbrowser-app, friends-app, etc.
[Test Case]
1. prepare ibus or fcitx environment with CJK(Chinese, Japanese, Korean) language, for example.
2. install and launch webbrowser-app
3. confirm that you cannot enable IM inside webbrowser-app
4. update im-config packages to -proposed one
5. logout from desktop session and re-login
6. confirm that now you can enable IM and input CJK language with ibus or fcitx.
[Regression Potential]
* This patch sets QT_IM_MODULE which might affect Qt4 app behaviour, both Qt5 and Qt4 app tests are preferred to make sure there is no regression for both sides. I used webbrowser-app(Qt5) and skype(Qt4) before attaching the patch.
[Other Info]
related discussion is debian bug report.
http://
-- original description --
WORKAROUND:
launch webapp-container with QT_IM_MODULE variable like the line below.
$ env QT_IM_MODULE=ibus webapp-container --app-id=
webapp-container looks like QT5 application, im-config needs to care about QT_IM_MODULE in addition to other *_IM_MODULE variables?
ProblemType: BugDistroRelease: Ubuntu 14.04
Package: im-config 0.24-1ubuntu4
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Apr 19 17:23:15 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-10-15 (185 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131014)
PackageArchitec
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
summary: |
- Cannot enable ibus inside webapp-container + Cannot enable IM inside Qt5 apps including webapp-container |
Changed in im-config (Debian): | |
status: | Unknown → New |
description: | updated |
description: | updated |
Changed in im-config (Debian): | |
status: | New → Fix Released |
Changed in im-config (Ubuntu): | |
importance: | Undecided → High |
Changed in im-config (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in im-config (Ubuntu Trusty): | |
status: | Confirmed → Triaged |
tags: | added: touch-cn |
Changed in im-config (Ubuntu Trusty): | |
status: | In Progress → Triaged |
Changed in im-config (Ubuntu Trusty): | |
status: | Triaged → In Progress |
An upstream debian bug is talking about setting QT_IM_MODULE for fcitx, but the idea is the same for fixing IM in QT5. /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 732396
https:/