[Bug 1309885] Re: Cannot enable IM inside Qt5 apps including webapp-container

David Planella david.planella at ubuntu.com
Mon May 5 07:29:33 UTC 2014


** Tags added: touch-cn

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1309885

Title:
  Cannot enable IM inside Qt5 apps including webapp-container

Status in Ubuntu Translations:
  New
Status in “im-config” package in Ubuntu:
  Fix Released
Status in “im-config” source package in Trusty:
  In Progress
Status in “im-config” package in Debian:
  Fix Released

Bug description:
  debdiff for utopic:
    https://launchpadlibrarian.net/173673054/im-config_utopic_v2.debdiff
  SRU debdiff for trusty:
    https://launchpadlibrarian.net/173673094/im-config_trusty-sru_v2.debdiff

  [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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732396

  -- original description --

  WORKAROUND:
  launch webapp-container with QT_IM_MODULE variable like the line below.

  $ env QT_IM_MODULE=ibus webapp-container --app-id=Gmailmailgooglecom
  --webapp=XXXXXX --enable-back-forward --store-session-cookies

  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
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  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)
  PackageArchitecture: allSourcePackage: im-config
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1309885/+subscriptions



More information about the Ubuntu-sponsors mailing list