[Bugs] #2074 NORM: Activity data directory should be deleted when an activity is deleted
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Tue Jul 6 13:37:03 EDT 2010
#2074: Activity data directory should be deleted when an activity is deleted
------------------------------+---------------------------------------------
Reporter: bernie | Owner: tch
Type: defect | Status: assigned
Priority: Normal | Milestone: 0.90
Component: sugar-toolkit | Version: Unspecified
Severity: Unspecified | Keywords: sugar-love r?
Distribution: Unspecified | Status_field: Assigned
------------------------------+---------------------------------------------
Comment(by garycmartin):
Replying to [comment:4 erikos]:
> About the concern for activities that don't use the journal losing data.
An activity could store configurations in the bundle profile even though
it does write to the Journal. Maybe the activity team can give his opinion
on how the activities behave to evaluate what the bigger issue is.
As a concrete if trivial example, the Moon activity stores some minimal UI
state in its data directory in addition to the Journal entry. The main use
case is for folks using Moon in the Southern hemisphere and their
preference for viewing the moon rotated so that the its south pole is
facing up. Storing this in the data directory allows future new sessions
to start with the correct view orientation.
If an activity is specifically erased by a user then it is understandable
that this data may be removed (for the sake of maximising available
storage space), though it would be frustrating if this was triggered
unexpectedly by other less obvious Sugar actions (upgrading; deleting an
.xo bundle from Journal; Backup/restore). Not sure how much sensitive data
is kept around by other activities, other than TurtleArt using it for
caching brick images (has to re render them all at launch time if
deleted).
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2074#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list