input is lost if no app was launched before stopping shell

Bug #1203698 reported by Michał Sawicz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
platform-api
Fix Committed
High
Ricardo Mendoza
platform-api (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:
* Reboot device (or kill ubuntuappmanager)
* stop unity8
* start any application

Current results:
* input is lost for all subsequent non-system sessions

Expected results:
* input works for non-system sessions

Notes
* starting any app before having stopped unity8 (or started it, for that matter) obfuscates the issue, as input works correctly then.

This is problematic as it can easily break autopiloting apps if there has not been an app launched before stopping untiy8.

Tags: autopilot

Related branches

Michał Sawicz (saviq)
summary: - input is lost if no app was launched before or during shell run
+ input is lost if no app was launched before stopping shell
Changed in platform-api:
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

Some real-life steps:

* reboot phone
$ adb shell
  $ sudo -u phablet -i
    $ initctl stop unity8
    $ ubuntu-calulator-app

Input lost.

Passing --desktop_file_hint doesn't help.

Revision history for this message
Oliver Grawert (ogra) wrote :

i can not reproduce this reliably here ... some boots behave like described above, most of them work though ...

this is on a maguro with the 20130721 image

Revision history for this message
Alexander Sack (asac) wrote :

who can deep dive here? Seems to also block tests/dashboard

Revision history for this message
Michał Sawicz (saviq) wrote :

Another workaround seems to be to unlock the greeter before stopping unity8.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Just flashed the latest --pending image:

HARDWARE=mako
JENKINS_BUILD=saucy-55
UBUNTU=ubuntu-touch-saucy-armhf
ubuntu/platform-api=:97
hybris=0.1.0+git20130606+c5d897a-0ubuntu11

I can reproduce this. After running the unity8 test suite there's no input in apps.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

I can also reproduce it with the steps mentioned in comment #1

Bill Filler (bfiller)
tags: added: autopilot
Michał Sawicz (saviq)
Changed in platform-api:
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:platform-api at revision 98, scheduled for release in platform-api, milestone ubuntu-13.05

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

This bug was fixed in the package platform-api - 0.18.2+13.10.20130725-0ubuntu1

---------------
platform-api (0.18.2+13.10.20130725-0ubuntu1) saucy; urgency=low

  [ Ricardo Mendoza ]
  * * Clear all input traps upon death of the last client * Reset shell
    focus if all apps exit. (LP: #1203698, #1204299)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 98
 -- Ubuntu daily release <email address hidden> Thu, 25 Jul 2013 11:44:22 +0000

Changed in platform-api (Ubuntu):
status: New → 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.