Disabling the welcome wizard doesn’t dismiss it

Bug #1574706 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Won't Fix
Undecided
Unassigned
phablet-tools (Ubuntu)
New
Undecided
Unassigned
unity8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The autopkgtest helper script that sets up a phone for running autopilot tests (https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/tree/ssh-setup/adb) disables the welcome wizard and edges intro.

To disable the welcome wizard, it issues the following command:

    phablet-config welcome-wizard --disable

Which under the covers creates the following file on the device: ~/.config/ubuntu-system-settings/wizard-has-run.

Unity8 doesn’t seem to have any logic to discard the currently running wizard when that file is created (maybe on purpose?).

This results in the phone under test still displaying the welcome wizard when control is handed off to the app’s autopkgtests, so autopilot tests will most likely fail because the app being launched is displayed under the wizard.

I’m not sure whether not dismissing the wizard when the "wizard-has-run" file is being created is intentional. If it is, then the autopkgtest helper script needs additional logic to restart unity8 and unlock the screen.

Revision history for this message
Martin Pitt (pitti) wrote :

IMHO this would be better fixed centrally in phablet-tools (which ships phablet-config), or in unity8 directly as you say. But if there's a reason not to do that, can you please tell me how to change autopkgtest's adb setup script?Thanks!

Changed in autopkgtest (Ubuntu):
status: New → Incomplete
Revision history for this message
Olivier Tilloy (osomon) wrote :

@Martin: I’m not sure what’s the best place to address the issue either, which is why I marked both autopkgtest and unity8 affected. I’ll add phablet-tools to the list.
Opinions on where to best fix this are welcome!

Revision history for this message
Martin Pitt (pitti) wrote :

With the demise of the Ubuntu phone (rest in peace, *tear*) this is obsolete now.

Changed in autopkgtest (Ubuntu):
status: Incomplete → Won't Fix
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.