[Bugs] #4841 Sugar NORM: Only some newly installed system-wide activities are favorites
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Jun 5 03:58:05 EDT 2015
#4841: Only some newly installed system-wide activities are favorites
---------------------+-------------------------------------
Reporter: quozl | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: Sugar | Version: Git as of bugdate
Severity: Minor | Resolution:
Keywords: | Distribution/OS: Ubuntu
Bug Status: New |
---------------------+-------------------------------------
\
\
\
\
\
\
Comment (by quozl):
Thanks for the redesign work. I agree that preserving the user choice, to
either add as favourite or remove as favourite, would achieve best
usability outcome.
Not sure I agree with a per-user blacklist file. Instead, since
favorite_activities is a JSON structure, and each bundle has either null
or a dictionary for recording position in position capable views, two
further keys might be added:
* a key ''uf'' to represent one of either:
* added as favourite by user,
* removed as favourite by user, or;
* no choice made by user (e.g. key missing),
* a key ''sf'' to represent one of either:
* the system defaults listed the bundle as favourite,
* the system defaults listed the bundle as not to be a favourite, or;
* the system defaults made no choice (e.g. key missing).
So to determine whether to show the bundle is a straightforward set of
priorities; user choice first, or if no choice made then use system
default, or if no system default made then show the bundle.
The system defaults would be "do not show" for Read, Log, and Terminal,
and "do show" for Browse. For example, where Terminal has been marked
favourite by user, and a new activity installed, the JSON may contain:
{{{
"org.laptop.sugar.ReadActivity 99": { 'sf': False },
"org.laptop.Log 29": { 'sf': False },
"org.laptop.Terminal 39": { 'uf': True, 'sf': False },
"NewActivity 1": { },
"org.laptop.WebActivity 157.1": { 'sf': True },
}}}
Fedora on XO laptop deployments will need a patch to olpc-os-builder.
Deployments of other operating systems will gain a fix.
(I don't think we are at a stage of assessing the impact and suitability
for merging; that can come after design and coding is complete. When that
happens relative to release schedule is unknown. The bug severity is
minor. If a fix becomes a feature only because of complexity, it's hard
to see where the threshold is. I prefer to think of this as a fix rather
than a feature, because all the user gains is properly working software.)
\
\
\
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4841#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list