OSKController enabled property is reported incorrectly

Bug #1248795 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-mir
Fix Released
High
Daniel d'Andrada
unity-mir (Ubuntu)
Fix Released
Undecided
Daniel d'Andrada

Bug Description

I'm using the enabled property of the OSKController to check when we're ready to proceed with the autopilot test (as it restarts the maliit-server).

The problem is that it never changes from True even when I `initctl stop maliit-server`

To reproduce (with help with this script [1]) / what I see:

# Start unity8 with testability so we can introspect it
$ stop unity8 && start unity8 QT_LOAD_TESTABILITY=1
$ status unity8
>>> unity8 start/running, process 2273

$ status maliit-server
>>> maliit-server start/running, process 2443

$ check_status.py 2273 # The script from [1]
>>> (Checking OSKController.enabled)
>>> Status: True

$ stop maliit-server && status maliit-server
>>> maliit-server stop/waiting

$ check_status.py 2273 # The script from [1]
>>> (Checking OSKController.enabled)
>>> Status: True

The output of the second run should be False.

Perhaps the OnSurfaceCreated/onSurfaceDestroyed from OSKController.qml isn't being called as expected?

[1] http://pastebin.ubuntu.com/6373981/

Related branches

summary: - QSKController enabled property is reported incorrectly
+ OSKController enabled property is reported incorrectly
kevin gunn (kgunn72)
Changed in unity-mir:
assignee: nobody → Daniel d'Andrada (dandrader)
status: New → Triaged
importance: Undecided → High
Changed in unity-mir:
status: Triaged → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity-mir at revision 159, scheduled for release in unity-mir, milestone phone-v1-freeze

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

This bug was fixed in the package unity-mir - 0.2+14.04.20140108.1-0ubuntu1

---------------
unity-mir (0.2+14.04.20140108.1-0ubuntu1) trusty; urgency=low

  [ Daniel d'Andrada ]
  * Fix OSKController.enabled property OSKController.enabled was always
    True as we were missing the check for undefined. Also s/variant/var
    as the "variant" QML type is deprecated. (LP: #1248795)

  [ kevin gunn ]
  * bump debian version dependency for mir to 0.1.3 to force rebuild

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 160
 -- Ubuntu daily release <email address hidden> Wed, 08 Jan 2014 08:21:01 +0000

Changed in unity-mir (Ubuntu):
status: New → Fix Released
Changed in unity-mir:
status: Fix Committed → Fix Released
Changed in unity-mir (Ubuntu):
assignee: nobody → Daniel d'Andrada (dandrader)
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.