Opened 9 years ago
Closed 9 years ago
#4836 closed defect (fixed)
erase a $HOME activity should reveal preinstalled activity
Reported by: | quozl | Owned by: | SAMdroid |
---|---|---|---|
Priority: | Normal | Milestone: | Unspecified |
Component: | Sugar | Version: | Git as of bugdate |
Severity: | Minor | Keywords: | patch |
Cc: | Distribution/OS: | Debian | |
Bug Status: | New |
Description
Steps:
- preinstall an activity into /usr/share/sugar,
- (if necessary for testing, reduce the activity version and restart),
- verify the List View shows the activity,
- download the same activity, or use Software Update, (will be in $HOME),
- verify the List View shows the activity with new version,
- show the List View,
- select and erase the activity.
Expected result:
- downloaded activity is removed,
- preinstalled activity becomes visible immediately,
Observed result:
- downloaded activity is removed,
- preinstalled activity becomes visible after restart.
Change History (4)
comment:1 Changed 9 years ago by SAMdroid
- Keywords patch added
- Owner set to SAMdroid
- Status changed from new to assigned
- Version changed from Unspecified to Git as of bugdate
comment:2 Changed 9 years ago by SAMdroid
New Patch: https://github.com/sugarlabs/sugar/pull/488
comment:3 Changed 9 years ago by quozl
New Patch: https://github.com/sugarlabs/sugar/pull/489
comment:4 Changed 9 years ago by Sam Parkinson
- Resolution set to fixed
- Status changed from assigned to closed
Search for alternative copies after deleting a bundle, fixes #4836
If the user removes a $HOME activity, sugar should fall back to
displaying a /usr/share copy of the same activity. This patch
searches through the system paths after removing an activity in
order to add it back if needed.
Steps to reproduce can be found in the ticket.
Ticket URL: http://bugs.sugarlabs.org/ticket/4836
Changeset: 47642fdbc077d61c41c394f9c254a82c2a61f6eb
Note: See
TracTickets for help on using
tickets.
Patch: https://github.com/sugarlabs/sugar/pull/487