Location trusted prompt for Scopes shown immediately after the wizard

Bug #1595421 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Unassigned
unity-scopes-shell (Ubuntu)
Fix Released
High
Paweł Stołowski

Bug Description

The trusted prompt for location access for Scopes is shown immediately after the wizard and not after first search or pull-to-refresh initiated by the user as intended. For some reason it happens only if wizard is involved in the boot sequence, and not if trusted prompt for location is just forced by removing .scopesLocationPrompt and trust store db.

Looking at the unity8-dash.log file from the first boot after wiping the device, it seems that there is a forced refresh of scopes registry metadata early during the dash startup:

[2016-04-23:07:04:42.593] Refreshing scope metadata
[2016-04-23:07:04:42.982] "SettingsModel::update_child_scopes(): no scope with id 'com.canonical.scopes.weatherchannel'"
[2016-04-23:07:04:42.983] Dispatching search: "com.canonical.scopes.dashboard_dashboard" "" ""
[2016-04-23:07:04:42.987] Enabling location updates

This calls invalidateResults() and has the same effect as pull-to-refresh.

This is most likely caused by the network becoming available & remote scopes getting fetched for the first time, signaling new scopes get available to the shell.

To reproduce, reflash with --wipe or perform factory reset.

Related branches

description: updated
description: updated
Changed in unity-scopes-shell (Ubuntu):
importance: Undecided → High
assignee: nobody → Pawel Stolowski (stolowski)
Changed in unity-scopes-shell (Ubuntu):
status: New → Confirmed
Changed in unity-scopes-shell (Ubuntu):
status: Confirmed → In Progress
description: updated
summary: - Location trusted prompt shown immediately after the wizard
+ Location trusted prompt for Scopes shown immediately after the wizard
Changed in canonical-devices-system-image:
status: New → In Progress
milestone: none → 12
importance: Undecided → High
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scopes-shell - 0.5.7+16.10.20160624.2-0ubuntu1

---------------
unity-scopes-shell (0.5.7+16.10.20160624.2-0ubuntu1) yakkety; urgency=medium

  * Treat search triggered by registry changes as programmatic search
    (i.e. not triggering location prompt). Enhanced debug messages. (LP:
    #1595421)

 -- Pawel Stolowski <email address hidden> Fri, 24 Jun 2016 14:08:26 +0000

Changed in unity-scopes-shell (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
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.