#6014 HIGH Future : Shutdown should close Activities

Zarro Boogs per Child bugtracker at laptop.org
Tue Jan 15 14:48:01 EST 2008


#6014: Shutdown should close Activities
------------------------------+---------------------------------------------
  Reporter:  michael.tiemann  |       Owner:  erikos        
      Type:  defect           |      Status:  new           
  Priority:  high             |   Milestone:  Future Release
 Component:  sugar            |     Version:  Build 653     
Resolution:                   |    Keywords:                
  Verified:  0                |    Blocking:                
 Blockedby:                   |  
------------------------------+---------------------------------------------
Changes (by erikos):

  * owner:  marco => erikos


Comment:

 The attached patch adds the dbus method 'SyncData' to the activity service
 so that we can sync the data to the datastore when we reboot or shutdown.
 This method is called for all the running activities when you use the
 palette in the home view to reboot or shutdown.

 To verify:
    - open an activity like calculate and type some equations
    - reboot or shutdown (without changig the active activity since this
 will sync the data as well)
    - resume the activity and check that the data is there

 Furthermore the 'SyncActivityData' dbus method is added to the shell
 service so that ohm can call it to sync the data of all the running
 activities when going to suspend.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6014#comment:3>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list