[Bugs] #4858 Sugar NORM: Gears-6 flashing colours on resume from journal

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Jun 7 16:30:38 EDT 2015


#4858: Gears-6 flashing colours on resume from journal
---------------------+-------------------------------------
  Reporter:  quozl   |            Owner:
      Type:  defect  |           Status:  new
  Priority:  Normal  |        Milestone:  Unspecified
 Component:  Sugar   |          Version:  Git as of bugdate
  Severity:  Major   |       Resolution:
  Keywords:          |  Distribution/OS:  Ubuntu
Bug Status:  New     |
---------------------+-------------------------------------
\
\
\
\
\
\

Comment (by llaske):

 I've found where is the issue.
 It's related to the writing into datastore.
 Gears activity write into the datastore when there is a click on the stop
 button [1].
 But the stop button generate also the closing of the activity [2].
 It seems that the writing into the datastore had no time to do its job
 before the closing. So nothing is saved into the datastore.

 In my pull request I've updated the Sugar-Web version to the last version
 and in the previous version embedded into the application, there was a
 wait on data stored [3].

 There is no issue into Sugarizer because of course closing of activity is
 handle by the JavaScript engine too, not by Python.


 [1] https://github.com/manuq/gears-activity/blob/master/js/activity.js#L15
 [2] https://github.com/sugarlabs/sugar-
 web/blob/master/activity/activity.js#L63
 [3] https://github.com/manuq/gears-
 activity/commit/014c49b8695a4596015f88a5f4a3c4474ce40154?diff=split#diff-
 3fc140d0709ed6a81674da52dcf536ecL24
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4858#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list