[Dash] Scope loses context when you go back from preview

Bug #1300304 reported by Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UX
Invalid
High
Mike Nagle
unity-scopes-shell (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On mako #269
In applications scope, scroll down and expand up the section for "Available" or "My Apps".

For "Available" spot a few apps to install. Pick one to get to the preview. Click "Install".
For "My Apps" spot a few apps to de-install. Pick one (long press) to get the preview. Click "Uninstall".

Once install/uninstall is done, press the back button at the top.

Note that in both cases you get returned to where you were in the scope then the scope immediately flips up to the top.

-------
Solution

By default, when the user goes back from a preview, they are returned to the surfacing mode in the same place. However if those results are now invalid (due to action on the preview), the scope is reloaded.

This problem is now mitigated by:
- Separating out installed apps and available apps into two scopes (installed plus store)
- in this particular use case, we also plan to provide a shortcut to uninstalling using a contextual menu on long press.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michal Hruby (mhr3) wrote :

This is expected, as installing/uninstalling an app invalidates the scope result set.

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

On one hand I'm inclined to mark this as invalid for unity8, on the other, though, I know that I'd rather it just refresh what actually changed, but that's a much bigger topic, involving scopes as well as the scopes api, or at least the scopes QML plugin.

Revision history for this message
Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„ (popey) wrote :

It may be technically expected, but from a user point of view it's pretty horrid to be dumped back at the top, many swipes away from where you started.

Revision history for this message
Michal Hruby (mhr3) wrote :

Just a note, even if we did diffs of the resultsets, if it would take more than ~250ms to get *all* the results, we'd have the same behaviour. (and that's pretty likely considering the need to do an internet query)

Daniela Ferrai (dferrai)
Changed in ubuntu-ux:
assignee: nobody → Mike Nagle (mikenagle)
summary: - Scope loses context when you go back from preview
+ [Dash] Scope loses context when you go back from preview
John Lea (johnlea)
Changed in ubuntu-ux:
importance: Undecided → High
status: New → Triaged
Mike Nagle (mikenagle)
description: updated
Changed in ubuntu-ux:
status: Triaged → Invalid
Revision history for this message
Dave Morley (davmor2) wrote :

This seems to be fixed with the very latest rendition of scopes, So I'm marking it invalid, please reopen if this still effects you

Changed in unity8 (Ubuntu):
status: Confirmed → Invalid
Changed in unity-scopes-shell (Ubuntu):
status: New → Invalid
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.