Rewrite ibus test for ibus 1.5

Bug #1203106 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Brandon Schaefer
unity (Ubuntu)
Fix Released
High
Brandon Schaefer

Bug Description

https://bazaar.launchpad.net/~unity-team/unity/trunk/view/head:/tests/autopilot/unity/tests/test_ibus.py

needs to be rewritten for ibus 1.5.

We would like to land ibus 1.5 in Saucy really soon but we don't want to break the Unity build. You can get ibus 1.5 from https://launchpad.net/~ubuntu-desktop/+archive/ppa

ibus 1.5 uses gsettings, not gconf. And the default keyboard shortcut to switch input methods has switched to Super+Space using org.gnome.settings-daemon.plugins.media-key switch-input-source I believe (but you'll need to have gnome-settings-daemon from the PPA installed for that)

See also bug 1201679

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: unity 7.0.2+13.10.20130705.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.10.0-3.12-generic 3.10.1
Uname: Linux 3.10.0-3-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Fri Jul 19 12:04:55 2013
InstallationDate: Installed on 2013-06-14 (35 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613)
MarkForUpload: True
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Jeremy Bícha (jbicha)
description: updated
Changed in unity:
importance: Undecided → High
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity (Ubuntu):
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity:
status: New → In Progress
Changed in unity (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

So a little update, the overall problem is ibus 1.5 is always on. So when you are typing in english its still on :(. Sadly we depend on knowing when ibus was being enabled/disabled. Another thing is we are moving from gconf -> gsettings. So nux will have to be updated as well.

Good news is we can get the tests passing soon, I just need to manually enter the expected results in the pinyin/anthy and things should be good on our end. There will be some refactoring needed in nux/unity though as we no longer get the signals enable/disabled so we can't tell if the IM is active or not. This means we don't know when we will be getting preedit or not.

Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

I've attached a branch that'll make the AP tests pass for now (at lease locally it does), but still need some changes in unity/nux so made a new bug: 1204210

Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity at revision None, scheduled for release in unity, milestone 7.1.1

Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.1.0+13.10.20130802-0ubuntu1

---------------
unity (7.1.0+13.10.20130802-0ubuntu1) saucy; urgency=low

  [ Stephen M. Webb ]
  * Remove incorrect last check in test_unhide_single_app AP test. (LP:
    #1204188)

  [ Brandon Schaefer ]
  * Fix AP tests for IBus 1.5 Fix search bar hint when using preedit.
    (LP: #1203106, #1204215)
  * Remove setting hotkey for ibus using gconf, as ibus 1.5 no longer
    uses gconf.

  [ Marco Trevisan (Treviño) ]
  * SimpleLauncherIcon: remove useless methods and signals, use smarter
    allocation.
  * MultiMonitor: remove the ugly max_num_monitors var, put it inside
    proper namespace.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 3449
 -- Ubuntu daily release <email address hidden> Fri, 02 Aug 2013 04:04:04 +0000

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Stephen M. Webb (bregma)
Changed in unity:
milestone: none → 7.1.1
Revision history for this message
sriranga(79yrs) (withblessing-sriranga-1933) wrote :

just now i downloaded the ubuntu 13.10 daily build and installed. when tried to configure the kannada using ibus does not work
does not display any preferece page to configure for Kannada (Indic). This is happening since previous version alpha 1 till today. How to solve the problem. icon still displaying in the unity but unable to make work.

Revision history for this message
sriranga(79yrs) (withblessing-sriranga-1933) wrote :

another problem when try to click on try ubuntu - it will open but does not display the " icon to install " - several times I have rebooted and no use. In the end I clicked the install ubuntu and then finshed the installation with however problem of ibus for preference

Revision history for this message
sriranga(79yrs) (withblessing-sriranga-1933) wrote :

reg; software centre. = asked to upgrade the files noted below but failed.
dell-1310@dell1310-OptiPlex-330:~$ sudo apt-get install gir1.2-gudev-1.0, libgl1-mesa-dri, libgl1-mesa-glx, libglapi-mesa, libgudev-1.0-0, libpam-systemd, libpci3, libsystemd-daemon0, libsystemd-login0, libudev1, pciutils, systemd-services, tzdata, udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gir1.2-gudev-1.0,
E: Couldn't find any package by regex 'gir1.2-gudev-1.0,'
E: Unable to locate package libgl1-mesa-dri,
E: Unable to locate package libgl1-mesa-glx,
E: Unable to locate package libglapi-mesa,
E: Unable to locate package libgudev-1.0-0,
E: Couldn't find any package by regex 'libgudev-1.0-0,'
E: Unable to locate package libpam-systemd,
E: Unable to locate package libpci3,
E: Unable to locate package libsystemd-daemon0,
E: Unable to locate package libsystemd-login0,
E: Unable to locate package libudev1,
E: Unable to locate package pciutils,
E: Unable to locate package systemd-services,
E: Unable to locate package tzdata,
dell-1310@dell1310-OptiPlex-330:~$

Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Nux Unity 7.1.1.

Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.