Manage Dash allows to unfavourite all scopes and leave you with a blank page

Bug #1400762 reported by Michał Sawicz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UX
Fix Released
High
James Mulholland
unity-scopes-shell (Ubuntu)
Fix Released
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
Critical
Albert Astals Cid

Bug Description

Steps to repro:
* bottom swipe in dash
* unfavourite all scopes
* press <

Expected:
* forbid unfavouriting a single default Scope (Apps)

The same can happen if you uninstall the only remaining favourite scope, I believe we should lock the user in the Manage page.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: unity8 8.01+15.04.20141205-0ubuntu1
Uname: Linux 3.18.0-031800rc4-generic x86_64
ApportVersion: 2.14.7-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Dec 9 16:18:58 2014
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)

[UX Comment]
'Apps Scope' can never be un-favourited now, marking as fix released.

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :
Changed in unity8 (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Albert Astals Cid (aacid)
Michał Sawicz (saviq)
description: updated
Revision history for this message
James Mulholland (jamesmulholland) wrote :

Description updated with design solution:
"* forbid unfavouriting the last remaining scope"

This should be handled with a dialogue (shown at the point the user attempts to unfavourite the last remaining scope) reading:

'You must have at least one favourite'

and a single button reading "OK" to dismiss the dialogue.

description: updated
Changed in ubuntu-ux:
assignee: nobody → James Mulholland (jamesjosephmulholland)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Michał Sawicz (saviq) wrote :

The above solution won't help if, for whatever reason, the only favourite scope becomes available (it doesn't work after updating your phone, was removed from the remote scope server etc.). Any comment on what should happen in that case?

Revision history for this message
James Mulholland (jamesmulholland) wrote :

@Saviq

Having discussed this with the design team and proposed 3 solutions, we will be reverting to the earlier design where we have a single default scope that cannot be unfavourited (the Apps/ Ubuntu scope).

The scope can still be repositioned within the list when in edit mode (and by extension can be repositioned within the dash), but will not have a Star attached to it within the list (meaning it can never be unfavourited and the dash will always have at least one scope within it).

Will update/roll-back the design doc to reflect this change ASAP:
https://docs.google.com/a/canonical.com/document/d/1LsjdqKDVcFN8Zxb_Oe-Zk1X_DiqviXr8D7-ELt2LEFI/edit?usp=sharing

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

Thanks!

description: updated
description: updated
Changed in unity8 (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scopes-shell - 0.5.4+15.04.20141215-0ubuntu1

---------------
unity-scopes-shell (0.5.4+15.04.20141215-0ubuntu1) vivid; urgency=low

  [ Pawel Stolowski ]
  * Make sure Apps are not un-favorited. Unity8 will prohibit this as
    well, this is for extra safety. (LP: #1400762)
 -- Ubuntu daily release <email address hidden> Mon, 15 Dec 2014 07:39:11 +0000

Changed in unity-scopes-shell (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20141215.3-0ubuntu1

---------------
unity8 (8.02+15.04.20141215.3-0ubuntu1) vivid; urgency=low

  [ Albert Astals Cid ]
  * ScopesList: Use the default scope style for the header

  [ Daniel d'Andrada ]
  * Refactor Dialogs.qml to use proper in-scene dialogs
  * Make Greeter nicely handle being resized

  [ Albert Astals ]
  * Rework how we set the ranges so we get some more asynchronousity
    from item views (LP: #1384374)
  * clickscope is back to being unfavoritable (LP: #1400762)
  * Fix clicking on the manage dash list after having moved the current
    scope
  * Make the drag range be a multiple of the drag "rate" value.
    Workarounds https://bugs.launchpad.net/mir/+bug/1399690

  [ Gerry Boland ]
  * MockAppMan: emit SIGSTOP so AP test apps are run (LP: #1394208)
 -- Ubuntu daily release <email address hidden> Mon, 15 Dec 2014 22:43:16 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
handsome_feng (feng-kylin) wrote :

Hi, everyone! I unfavourited all the scopes in the old version of unity8 . After a while, I upgraded my system from 14.10 to 15.04 and got the latest souce code (unity8-8.02+15.04.20150109.2). However,I still have a blank page. Thus, I installed unity-scope-click. And then, the Apps appeared in the scope list(also installed), but I can't favorate it again. Changing to a new user will solve it. However, how can I solve it just in current user? Does any configured files existing in current /home directory ? thanks.

Revision history for this message
handsome_feng (feng-kylin) wrote :

this is the picture of scopelist.

description: updated
Changed in ubuntu-ux:
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.